Skip to content

Commit

Permalink
fix(gatsby-link): Update resolve import (#36229)
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts authored Jul 25, 2022
1 parent 79036b3 commit b125296
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/gatsby-link/src/rewrite-link-path.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { resolve } from "@gatsbyjs/reach-router/lib/utils"
import { resolve } from "@gatsbyjs/reach-router"
// Specific import to treeshake Node.js stuff
import { applyTrailingSlashOption } from "gatsby-page-utils/apply-trailing-slash-option"
import { parsePath } from "./parse-path"
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@babel/traverse": "^7.15.4",
"@babel/types": "^7.15.4",
"@builder.io/partytown": "^0.5.2",
"@gatsbyjs/reach-router": "^1.3.6",
"@gatsbyjs/reach-router": "^1.3.9",
"@gatsbyjs/webpack-hot-middleware": "^2.25.2",
"@graphql-codegen/add": "^3.1.1",
"@graphql-codegen/core": "^2.5.1",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1686,10 +1686,10 @@
dependencies:
jimp "^0.16.1"

"@gatsbyjs/reach-router@^1.3.6":
version "1.3.6"
resolved "https://registry.yarnpkg.com/@gatsbyjs/reach-router/-/reach-router-1.3.6.tgz#4e8225836959be247890b66f21a3198a0589e34d"
integrity sha512-RW9ZBir9kqtw4IWm+Z+DLWGOeoJxoaTvNVrnR5fV9zD8EmfAhbBN/hS6i6VnTMFZ7rdd6mnpx2/XtnMvYfsaVQ==
"@gatsbyjs/reach-router@^1.3.9":
version "1.3.9"
resolved "https://registry.yarnpkg.com/@gatsbyjs/reach-router/-/reach-router-1.3.9.tgz#305c3c4c5041f27e53fc33e344a08ee2c4b985af"
integrity sha512-/354IaUSM54xb7K/TxpLBJB94iEAJ3P82JD38T8bLnIDWF+uw8+W/82DKnQ7y24FJcKxtVmG43aiDLG88KSuYQ==
dependencies:
invariant "^2.2.3"
prop-types "^15.6.1"
Expand Down

0 comments on commit b125296

Please sign in to comment.