Skip to content

Commit

Permalink
Use upath in Gatsby foreign-file resolvers (#1205)
Browse files Browse the repository at this point in the history
  • Loading branch information
rogermparent authored May 2, 2020
1 parent 083a343 commit f0c4473
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@
"scroll": "^3.0.1",
"serve-handler": "^6.1.2",
"slick-carousel": "^1.8.1",
"unist-util-visit": "2.0.2"
"unist-util-visit": "2.0.2",
"upath": "^1.2.0"
},
"devDependencies": {
"@babel/core": "^7.9.0",
Expand Down
2 changes: 1 addition & 1 deletion src/gatsby/utils/resolvers/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const path = require('path')
const path = require('upath')

/** Source Path Resolver Builder
This function makes Gatsby resolvers that connect a node to another node via
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16982,7 +16982,7 @@ unset-value@^1.0.0:
has-value "^0.3.1"
isobject "^3.0.0"

upath@^1.1.1:
upath@^1.1.1, upath@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894"
integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==
Expand Down

0 comments on commit f0c4473

Please sign in to comment.