Skip to content

Commit

Permalink
chore(deps): update sharp (#37131)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: LekoArts <[email protected]>
  • Loading branch information
renovate[bot] and LekoArts authored Dec 1, 2022
1 parent 479702c commit 5a5e419
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 28 deletions.
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-manifest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"gatsby-core-utils": "^4.3.0-next.0",
"gatsby-plugin-utils": "^4.3.0-next.0",
"semver": "^7.3.7",
"sharp": "^0.30.7"
"sharp": "^0.31.2"
},
"devDependencies": {
"@babel/cli": "^7.15.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-sharp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"lodash": "^4.17.21",
"probe-image-size": "^7.2.3",
"semver": "^7.3.7",
"sharp": "^0.30.7"
"sharp": "^0.31.2"
},
"devDependencies": {
"@babel/cli": "^7.15.4",
"@babel/core": "^7.15.5",
"@types/sharp": "^0.30.5",
"@types/sharp": "^0.31.0",
"babel-preset-gatsby-package": "^3.3.0-next.0",
"cross-env": "^7.0.3",
"gatsby-plugin-image": "^3.3.0-next.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Object {
"aspectRatio": 1,
"height": 20,
"originalName": "test.png",
"src": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAACXBIWXMAAAsTAAALEwEAmpwYAAABP0lEQVQ4y2P4r8ZANmKgvuZ/agy/VaHojyopmv+CNf/XQCCoCEHNf1VBqv+oM5yVY1giwbBakuG2AkjknzoW/eh2/tdgOCPHYM7OwMDAwAgiGFgYGMJ5GF4og43ApRmuk58JqpMJRjIwMBizMbxTZviPaj8ihCD6rThAStkgljJATWEHc3P5wT5SxdD8B2ztERmQIiYGdAAxSpaF4T2q5TDN4HCaLgZSxMyAE1yQgwY+Fs1zxQloviSPTTMktM7JgVzIiKEH4hElFoavKogAQgltiJA3F0gdOyPC58yw8GsUwhFgUMvVGR4oMqiwogQbhOHLxfBLDcVabIlEneGxEkMMLwMvTLc4M0OdEMN3VfRIxp48/6mDnPdCieGkHCiRflRh+K+JPXljz1IQJ0AzhjrRGQPZC5As+ZeuhQGRmgHU8mT34D0STQAAAABJRU5ErkJggg==",
"src": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAACXBIWXMAAAsTAAALEwEAmpwYAAABRUlEQVR42r2UvU7DMBCAv7ShQUClCiTIAAHaOC4zAxKvgMTMwDvwBgw8BQsbG8/BgPiRkNgYGFg6gRhgoE2C/BPSILdQhLBOTuzcd3c+34U84dfC38NZQl9YGYhJ4ExL3i3F7nwLpxrrS64jTkPOQu7XNN/Vn8bAhryK2AoAPDXhw94cvY4NwQ0b8jKiVbNkrZiBzQZPHXJZ4ctzGn57Wqk2jFOslUAvD1rK+nD+7GOg3Z4vl9EOD7Oz4vNcdV7AQsHHi0qpzshxu6rUUid8sjQOrsGdEzbZuolUhJ4LA8QUr3GZoEq21ZZkZ0bpBZ4FTCAmf0cLIxJmnUse1on90tvny+4s70nFrbtIHtvsN2kWdFjncJ438fWSHeWZCTKpTPTaXESqSF9i8g1S6Shvd2OYI9jGkGqZTdTPadGV2b/+DH4IfwAG62UOzwvNmgAAAABJRU5ErkJggg==",
"width": 20,
}
`;
Expand All @@ -23,7 +23,7 @@ Object {
exports[`gatsby-plugin-sharp duotone fixed 1`] = `
Object {
"aspectRatio": 1,
"base64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAHNUN2pAAAAD1BMVEXugW5lZmbMemybcGl6aWdJY41OAAAACXBIWXMAAAPoAAAD6AG1e1JrAAAAVUlEQVQY062QUQ6AMAhD28L9z2w2RObEH+P7WJquK2TAgEh0SoVfF+GQPk9DC5kvxNLv+QYJ1eBVy0VGxJYJltFfkI/q+87T2mzxQo3pj8rmI6QPGx6CUQCaU8vWagAAAABJRU5ErkJggg==",
"base64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAHNUN2pAAAAD1BMVEXtgW5nZmbWfGyNbWi1dWvL1a0bAAAACXBIWXMAAAPoAAAD6AG1e1JrAAAAV0lEQVR42q2QQQ6AMAgEdxf+/2ZTsFC1XoxzaDZTIARgQEx0RqXvD3gKxuvYQs4OZ2e91m9w1Sak9VguMUus7cj4D8Vou7hQN+0stFywWEc+u9NLHzY8AIWvAJmSdlsXAAAAAElFTkSuQmCC",
"height": 100,
"originalName": "test.png",
"src": "/static/1234/31820/test.png",
Expand All @@ -36,7 +36,7 @@ Object {
exports[`gatsby-plugin-sharp duotone fluid 1`] = `
Object {
"aspectRatio": 1,
"base64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAHNUN2pAAAAD1BMVEXugW5lZmbMemybcGl6aWdJY41OAAAACXBIWXMAAAPoAAAD6AG1e1JrAAAAVUlEQVQY062QUQ6AMAhD28L9z2w2RObEH+P7WJquK2TAgEh0SoVfF+GQPk9DC5kvxNLv+QYJ1eBVy0VGxJYJltFfkI/q+87T2mzxQo3pj8rmI6QPGx6CUQCaU8vWagAAAABJRU5ErkJggg==",
"base64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAHNUN2pAAAAD1BMVEXtgW5nZmbWfGyNbWi1dWvL1a0bAAAACXBIWXMAAAPoAAAD6AG1e1JrAAAAV0lEQVR42q2QQQ6AMAgEdxf+/2ZTsFC1XoxzaDZTIARgQEx0RqXvD3gKxuvYQs4OZ2e91m9w1Sak9VguMUus7cj4D8Vou7hQN+0stFywWEc+u9NLHzY8AIWvAJmSdlsXAAAAAElFTkSuQmCC",
"density": 72,
"originalImg": "/static/1234/31820/test.png",
"originalName": "test.png",
Expand Down Expand Up @@ -1014,7 +1014,7 @@ exports[`gatsby-plugin-sharp fluid ensure maxWidth is in srcSet breakpoints 1`]
exports[`gatsby-plugin-sharp fluid includes responsive image properties, e.g. sizes, srcset, etc. 1`] = `
Object {
"aspectRatio": 1,
"base64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAACXBIWXMAAAsTAAALEwEAmpwYAAABP0lEQVQ4y2P4r8ZANmKgvuZ/agy/VaHojyopmv+CNf/XQCCoCEHNf1VBqv+oM5yVY1giwbBakuG2AkjknzoW/eh2/tdgOCPHYM7OwMDAwAgiGFgYGMJ5GF4og43ApRmuk58JqpMJRjIwMBizMbxTZviPaj8ihCD6rThAStkgljJATWEHc3P5wT5SxdD8B2ztERmQIiYGdAAxSpaF4T2q5TDN4HCaLgZSxMyAE1yQgwY+Fs1zxQloviSPTTMktM7JgVzIiKEH4hElFoavKogAQgltiJA3F0gdOyPC58yw8GsUwhFgUMvVGR4oMqiwogQbhOHLxfBLDcVabIlEneGxEkMMLwMvTLc4M0OdEMN3VfRIxp48/6mDnPdCieGkHCiRflRh+K+JPXljz1IQJ0AzhjrRGQPZC5As+ZeuhQGRmgHU8mT34D0STQAAAABJRU5ErkJggg==",
"base64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAACXBIWXMAAAsTAAALEwEAmpwYAAABRUlEQVR42r2UvU7DMBCAv7ShQUClCiTIAAHaOC4zAxKvgMTMwDvwBgw8BQsbG8/BgPiRkNgYGFg6gRhgoE2C/BPSILdQhLBOTuzcd3c+34U84dfC38NZQl9YGYhJ4ExL3i3F7nwLpxrrS64jTkPOQu7XNN/Vn8bAhryK2AoAPDXhw94cvY4NwQ0b8jKiVbNkrZiBzQZPHXJZ4ctzGn57Wqk2jFOslUAvD1rK+nD+7GOg3Z4vl9EOD7Oz4vNcdV7AQsHHi0qpzshxu6rUUid8sjQOrsGdEzbZuolUhJ4LA8QUr3GZoEq21ZZkZ0bpBZ4FTCAmf0cLIxJmnUse1on90tvny+4s70nFrbtIHtvsN2kWdFjncJ438fWSHeWZCTKpTPTaXESqSF9i8g1S6Shvd2OYI9jGkGqZTdTPadGV2b/+DH4IfwAG62UOzwvNmgAAAABJRU5ErkJggg==",
"density": 72,
"originalImg": "/static/1234/7e516/test.png",
"originalName": "test.png",
Expand Down Expand Up @@ -1405,7 +1405,7 @@ Object {
"originalName": "test.png",
"src": "/static/1234/7e516/test.png",
"srcSet": "/static/1234/7e516/test.png 1x",
"tracedSVG": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAACXBIWXMAAAsTAAALEwEAmpwYAAABP0lEQVQ4y2P4r8ZANmKgvuZ/agy/VaHojyopmv+CNf/XQCCoCEHNf1VBqv+oM5yVY1giwbBakuG2AkjknzoW/eh2/tdgOCPHYM7OwMDAwAgiGFgYGMJ5GF4og43ApRmuk58JqpMJRjIwMBizMbxTZviPaj8ihCD6rThAStkgljJATWEHc3P5wT5SxdD8B2ztERmQIiYGdAAxSpaF4T2q5TDN4HCaLgZSxMyAE1yQgwY+Fs1zxQloviSPTTMktM7JgVzIiKEH4hElFoavKogAQgltiJA3F0gdOyPC58yw8GsUwhFgUMvVGR4oMqiwogQbhOHLxfBLDcVabIlEneGxEkMMLwMvTLc4M0OdEMN3VfRIxp48/6mDnPdCieGkHCiRflRh+K+JPXljz1IQJ0AzhjrRGQPZC5As+ZeuhQGRmgHU8mT34D0STQAAAABJRU5ErkJggg==",
"tracedSVG": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAACXBIWXMAAAsTAAALEwEAmpwYAAABRUlEQVR42r2UvU7DMBCAv7ShQUClCiTIAAHaOC4zAxKvgMTMwDvwBgw8BQsbG8/BgPiRkNgYGFg6gRhgoE2C/BPSILdQhLBOTuzcd3c+34U84dfC38NZQl9YGYhJ4ExL3i3F7nwLpxrrS64jTkPOQu7XNN/Vn8bAhryK2AoAPDXhw94cvY4NwQ0b8jKiVbNkrZiBzQZPHXJZ4ctzGn57Wqk2jFOslUAvD1rK+nD+7GOg3Z4vl9EOD7Oz4vNcdV7AQsHHi0qpzshxu6rUUid8sjQOrsGdEzbZuolUhJ4LA8QUr3GZoEq21ZZkZ0bpBZ4FTCAmf0cLIxJmnUse1on90tvny+4s70nFrbtIHtvsN2kWdFjncJ438fWSHeWZCTKpTPTaXESqSF9i8g1S6Shvd2OYI9jGkGqZTdTPadGV2b/+DH4IfwAG62UOzwvNmgAAAABJRU5ErkJggg==",
"width": 100,
}
`;
Expand All @@ -1425,6 +1425,6 @@ Object {
/static/1234/a1812/test.png 50w,
/static/1234/7e516/test.png 100w",
"srcSetType": "image/png",
"tracedSVG": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAACXBIWXMAAAsTAAALEwEAmpwYAAABP0lEQVQ4y2P4r8ZANmKgvuZ/agy/VaHojyopmv+CNf/XQCCoCEHNf1VBqv+oM5yVY1giwbBakuG2AkjknzoW/eh2/tdgOCPHYM7OwMDAwAgiGFgYGMJ5GF4og43ApRmuk58JqpMJRjIwMBizMbxTZviPaj8ihCD6rThAStkgljJATWEHc3P5wT5SxdD8B2ztERmQIiYGdAAxSpaF4T2q5TDN4HCaLgZSxMyAE1yQgwY+Fs1zxQloviSPTTMktM7JgVzIiKEH4hElFoavKogAQgltiJA3F0gdOyPC58yw8GsUwhFgUMvVGR4oMqiwogQbhOHLxfBLDcVabIlEneGxEkMMLwMvTLc4M0OdEMN3VfRIxp48/6mDnPdCieGkHCiRflRh+K+JPXljz1IQJ0AzhjrRGQPZC5As+ZeuhQGRmgHU8mT34D0STQAAAABJRU5ErkJggg==",
"tracedSVG": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAACXBIWXMAAAsTAAALEwEAmpwYAAABRUlEQVR42r2UvU7DMBCAv7ShQUClCiTIAAHaOC4zAxKvgMTMwDvwBgw8BQsbG8/BgPiRkNgYGFg6gRhgoE2C/BPSILdQhLBOTuzcd3c+34U84dfC38NZQl9YGYhJ4ExL3i3F7nwLpxrrS64jTkPOQu7XNN/Vn8bAhryK2AoAPDXhw94cvY4NwQ0b8jKiVbNkrZiBzQZPHXJZ4ctzGn57Wqk2jFOslUAvD1rK+nD+7GOg3Z4vl9EOD7Oz4vNcdV7AQsHHi0qpzshxu6rUUid8sjQOrsGdEzbZuolUhJ4LA8QUr3GZoEq21ZZkZ0bpBZ4FTCAmf0cLIxJmnUse1on90tvny+4s70nFrbtIHtvsN2kWdFjncJ438fWSHeWZCTKpTPTaXESqSF9i8g1S6Shvd2OYI9jGkGqZTdTPadGV2b/+DH4IfwAG62UOzwvNmgAAAABJRU5ErkJggg==",
}
`;
2 changes: 1 addition & 1 deletion packages/gatsby-remark-images-contentful/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"is-relative-url": "^3.0.0",
"lodash": "^4.17.21",
"semver": "^7.3.7",
"sharp": "^0.30.7",
"sharp": "^0.31.2",
"unist-util-select": "^3.0.4"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-sharp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"types": "dist/index.d.ts",
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-sharp#readme",
"dependencies": {
"@types/sharp": "^0.30.5",
"sharp": "^0.30.7"
"@types/sharp": "^0.31.0",
"sharp": "^0.31.2"
},
"devDependencies": {
"@babel/cli": "^7.15.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-source-shopify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
"gatsby-plugin-utils": "^4.3.0-next.0",
"gatsby-source-filesystem": "^5.3.0-next.0",
"node-fetch": "^2.6.7",
"sharp": "^0.30.7",
"sharp": "^0.31.2",
"shift-left": "^0.1.5"
},
"devDependencies": {
"@types/node": "^14.18.3",
"@types/node-fetch": "^2.5.12",
"@types/sharp": "^0.30.5",
"@types/sharp": "^0.31.0",
"cross-env": "^7.0.3",
"gatsby-plugin-image": "^3.3.0-next.0",
"msw": "^0.38.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-source-wordpress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"read-chunk": "^3.2.0",
"replaceall": "^0.1.6",
"semver": "^7.3.7",
"sharp": "^0.30.7",
"sharp": "^0.31.2",
"valid-url": "^1.0.9"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-transformer-sharp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"gatsby-plugin-utils": "^4.3.0-next.0",
"probe-image-size": "^7.2.3",
"semver": "^7.3.7",
"sharp": "^0.30.7"
"sharp": "^0.31.2"
},
"devDependencies": {
"@babel/cli": "^7.15.4",
"@babel/core": "^7.15.5",
"@types/sharp": "^0.30.5",
"@types/sharp": "^0.31.0",
"babel-preset-gatsby-package": "^3.3.0-next.0",
"cross-env": "^7.0.3"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
"@types/reach__router": "^1.3.5",
"@types/react-dom": "^18.0.6",
"@types/semver": "^7.3.12",
"@types/sharp": "^0.30.5",
"@types/sharp": "^0.31.0",
"@types/signal-exit": "^3.0.0",
"@types/string-similarity": "^4.0.0",
"@types/tmp": "^0.2.0",
Expand Down
27 changes: 17 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4704,10 +4704,10 @@
dependencies:
"@types/node" "*"

"@types/sharp@^0.30.5":
version "0.30.5"
resolved "https://registry.yarnpkg.com/@types/sharp/-/sharp-0.30.5.tgz#d75d91f7acf5260525aeae229845046dcff6d17a"
integrity sha512-EhO29617AIBqxoVtpd1qdBanWpspk/kD2B6qTFRJ31Q23Rdf+DNU1xlHSwtqvwq1vgOqBwq1i38SX+HGCymIQg==
"@types/sharp@^0.31.0":
version "0.31.0"
resolved "https://registry.yarnpkg.com/@types/sharp/-/sharp-0.31.0.tgz#c4af03a7e1d126f0d428a265e126fabd86ab6d0f"
integrity sha512-nwivOU101fYInCwdDcH/0/Ru6yIRXOpORx25ynEOc6/IakuCmjOAGpaO5VfUl4QkDtUC6hj+Z2eCQvgXOioknw==
dependencies:
"@types/node" "*"

Expand Down Expand Up @@ -21024,7 +21024,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e"
integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==

[email protected], semver@^7.1.1, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7:
[email protected]:
version "7.3.7"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f"
integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==
Expand All @@ -21036,6 +21036,13 @@ semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0:
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==

semver@^7.1.1, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8:
version "7.3.8"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798"
integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==
dependencies:
lru-cache "^6.0.0"

[email protected]:
version "0.18.0"
resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be"
Expand Down Expand Up @@ -21157,16 +21164,16 @@ shallow-copy@~0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/shallow-copy/-/shallow-copy-0.0.1.tgz#415f42702d73d810330292cc5ee86eae1a11a170"

sharp@^0.30.7:
version "0.30.7"
resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.30.7.tgz#7862bda98804fdd1f0d5659c85e3324b90d94c7c"
integrity sha512-G+MY2YW33jgflKPTXXptVO28HvNOo9G3j0MybYAHeEmby+QuD2U98dT6ueht9cv/XDqZspSpIhoSW+BAKJ7Hig==
sharp@^0.31.2:
version "0.31.2"
resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.31.2.tgz#a8411c80512027f5a452b76d599268760c4e5dfa"
integrity sha512-DUdNVEXgS5A97cTagSLIIp8dUZ/lZtk78iNVZgHdHbx1qnQR7JAHY0BnXnwwH39Iw+VKhO08CTYhIg0p98vQ5Q==
dependencies:
color "^4.2.3"
detect-libc "^2.0.1"
node-addon-api "^5.0.0"
prebuild-install "^7.1.1"
semver "^7.3.7"
semver "^7.3.8"
simple-get "^4.0.1"
tar-fs "^2.1.1"
tunnel-agent "^0.6.0"
Expand Down

0 comments on commit 5a5e419

Please sign in to comment.