Skip to content

Commit

Permalink
chore(gatsby): Update sharp and remove Promise shim for Node 8 (#22432)
Browse files Browse the repository at this point in the history
  • Loading branch information
freiksenet committed Mar 20, 2020
1 parent ec8e2f9 commit 79e6bbe
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 21 deletions.
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-manifest/package.json
Expand Up @@ -10,7 +10,7 @@
"@babel/runtime": "^7.8.7",
"gatsby-core-utils": "^1.1.0",
"semver": "^5.7.1",
"sharp": "^0.23.4"
"sharp": "^0.25.1"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-sharp/package.json
Expand Up @@ -23,7 +23,7 @@
"probe-image-size": "^4.1.1",
"progress": "^2.0.3",
"semver": "^5.7.1",
"sharp": "^0.23.4",
"sharp": "^0.25.1",
"svgo": "1.3.2",
"uuid": "^3.4.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-remark-images-contentful/package.json
Expand Up @@ -22,7 +22,7 @@
"is-relative-url": "^3.0.0",
"lodash": "^4.17.15",
"semver": "^5.7.1",
"sharp": "^0.23.4",
"sharp": "^0.25.1",
"unist-util-select": "^1.5.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-transformer-sharp/package.json
Expand Up @@ -13,7 +13,7 @@
"potrace": "^2.1.2",
"probe-image-size": "^4.1.1",
"semver": "^5.7.1",
"sharp": "^0.23.4"
"sharp": "^0.25.1"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
Expand Down
2 changes: 0 additions & 2 deletions packages/gatsby/src/bootstrap/index.js
Expand Up @@ -21,8 +21,6 @@ const getConfigFile = require(`./get-config-file`)
const tracer = require(`opentracing`).globalTracer()
const preferDefault = require(`./prefer-default`)
const removeStaleJobs = require(`./remove-stale-jobs`)
// Add `util.promisify` polyfill for old node versions
require(`util.promisify/shim`)()

// Show stack trace on unhandled promises.
process.on(`unhandledRejection`, (reason, p) => {
Expand Down
35 changes: 20 additions & 15 deletions yarn.lock
Expand Up @@ -16319,7 +16319,7 @@ mkdirp@*, mkdirp@0.5.1, mkdirp@^0.5, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1
dependencies:
minimist "0.0.8"

mkdirp@1.0.3:
mkdirp@1.0.3, mkdirp@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.3.tgz#4cf2e30ad45959dddea53ad97d518b6c8205e1ea"
integrity sha512-6uCP4Qc0sWsgMLy1EOqqS/3rjDHOEnsStVr/4vtAIK2Y5i2kA7lFFejYrpIyiN9w0pYf4ckeCYT9f1r1P9KX5g==
Expand Down Expand Up @@ -16465,7 +16465,7 @@ name-all-modules-plugin@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/name-all-modules-plugin/-/name-all-modules-plugin-1.0.1.tgz#0abfb6ad835718b9fb4def0674e06657a954375c"

nan@^2.10.0, nan@^2.14.0, nan@^2.9.2:
nan@^2.10.0, nan@^2.9.2:
version "2.14.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==
Expand Down Expand Up @@ -16550,6 +16550,11 @@ node-abi@^2.7.0:
dependencies:
semver "^5.4.1"

node-addon-api@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-2.0.0.tgz#f9afb8d777a91525244b01775ea0ddbe1125483b"
integrity sha512-ASCL5U13as7HhOExbT6OlWJJUV/lLzL2voOSP1UVehpRD8FbSrSDjfScK/KwAvVTI5AS6r4VwbOMlIqtvRidnA==

node-cleanup@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/node-cleanup/-/node-cleanup-2.1.2.tgz#7ac19abd297e09a7f72a71545d951b517e4dde2c"
Expand Down Expand Up @@ -20747,7 +20752,7 @@ semver@7.0.0:
resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e"
integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==

semver@7.1.3:
semver@7.1.3, semver@^7.1.3:
version "7.1.3"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.1.3.tgz#e4345ce73071c53f336445cfc19efb1c311df2a6"
integrity sha512-ekM0zfiA9SCBlsKa2X1hxyxiI4L3B6EbVJkkdgQXnSEEaHlGdvyodMruTiulSRWMMB4NeIuYNMC9rTKTz97GxA==
Expand Down Expand Up @@ -20891,19 +20896,19 @@ shallowequal@^1.0.1, shallowequal@^1.1.0:
resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8"
integrity sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==

sharp@^0.23.4:
version "0.23.4"
resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.23.4.tgz#ca36067cb6ff7067fa6c77b01651cb9a890f8eb3"
integrity sha512-fJMagt6cT0UDy9XCsgyLi0eiwWWhQRxbwGmqQT6sY8Av4s0SVsT/deg8fobBQCTDU5iXRgz0rAeXoE2LBZ8g+Q==
sharp@^0.25.1:
version "0.25.1"
resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.25.1.tgz#7bcc9c0ed0debcf1109913e4b3e901d56e957f07"
integrity sha512-CO/16EfYsSPUyW0uHNVhMMR6mqMeMKA5AjVA0/yH2VgYCX+M7jCklzciHGZdOfewDUMVSiu5elFFpkvvhPwgoA==
dependencies:
color "^3.1.2"
detect-libc "^1.0.3"
nan "^2.14.0"
node-addon-api "^2.0.0"
npmlog "^4.1.2"
prebuild-install "^5.3.3"
semver "^6.3.0"
semver "^7.1.3"
simple-get "^3.1.0"
tar "^5.0.5"
tar "^6.0.1"
tunnel-agent "^0.6.0"

shebang-command@^1.2.0:
Expand Down Expand Up @@ -22189,16 +22194,16 @@ tar@^4, tar@^4.4.10, tar@^4.4.8:
safe-buffer "^5.1.2"
yallist "^3.0.3"

tar@^5.0.5:
version "5.0.5"
resolved "https://registry.yarnpkg.com/tar/-/tar-5.0.5.tgz#03fcdb7105bc8ea3ce6c86642b9c942495b04f93"
integrity sha512-MNIgJddrV2TkuwChwcSNds/5E9VijOiw7kAc1y5hTNJoLDSuIyid2QtLYiCYNnICebpuvjhPQZsXwUL0O3l7OQ==
tar@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/tar/-/tar-6.0.1.tgz#7b3bd6c313cb6e0153770108f8d70ac298607efa"
integrity sha512-bKhKrrz2FJJj5s7wynxy/fyxpE0CmCjmOQ1KV4KkgXFWOgoIT/NbTMnB1n+LFNrNk0SSBVGGxcK5AGsyC+pW5Q==
dependencies:
chownr "^1.1.3"
fs-minipass "^2.0.0"
minipass "^3.0.0"
minizlib "^2.1.0"
mkdirp "^0.5.0"
mkdirp "^1.0.3"
yallist "^4.0.0"

teepee@^2.31.1:
Expand Down

0 comments on commit 79e6bbe

Please sign in to comment.