Skip to content

Commit 0d896ae

Browse files
authored
chore(gatsby-plugin-sharp,gatsby-plugin-utils,gatsby-remark-images,gatsby-transformer-sharp): bump min potrace version (gatsbyjs#36443)
1 parent a21510e commit 0d896ae

File tree

6 files changed

+19
-475
lines changed

6 files changed

+19
-475
lines changed

.jestSetup.js

-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
process.env.GATSBY_RECIPES_NO_COLOR = "true"
22
process.env.GATSBY_SHOULD_TRACK_IMAGE_CDN_URLS = "true"
3-
4-
// Potrace has a dependency on giwrap which has a process.nextTick as a sideEffect which messes up with jest.
5-
jest.mock(`gifwrap`, () => jest.fn())

packages/gatsby-plugin-sharp/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"dependencies": {
1010
"@babel/runtime": "^7.15.4",
11-
"@gatsbyjs/potrace": "^2.2.0",
11+
"@gatsbyjs/potrace": "^2.3.0",
1212
"async": "^3.2.4",
1313
"bluebird": "^3.7.2",
1414
"debug": "^4.3.4",

packages/gatsby-plugin-utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-utils#readme",
4848
"dependencies": {
4949
"@babel/runtime": "^7.15.4",
50-
"@gatsbyjs/potrace": "^2.2.0",
50+
"@gatsbyjs/potrace": "^2.3.0",
5151
"fastq": "^1.13.0",
5252
"fs-extra": "^10.1.0",
5353
"gatsby-core-utils": "^3.22.0-next.0",

packages/gatsby-remark-images/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"dependencies": {
1010
"@babel/runtime": "^7.15.4",
11-
"@gatsbyjs/potrace": "^2.2.0",
11+
"@gatsbyjs/potrace": "^2.3.0",
1212
"chalk": "^4.1.2",
1313
"cheerio": "^1.0.0-rc.10",
1414
"gatsby-core-utils": "^3.22.0-next.0",

packages/gatsby-transformer-sharp/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"dependencies": {
1010
"@babel/runtime": "^7.15.4",
11-
"@gatsbyjs/potrace": "^2.2.0",
11+
"@gatsbyjs/potrace": "^2.3.0",
1212
"bluebird": "^3.7.2",
1313
"common-tags": "^1.8.2",
1414
"fs-extra": "^10.1.0",

0 commit comments

Comments
 (0)