Skip to content

Commit b125296

Browse files
authoredJul 25, 2022
fix(gatsby-link): Update resolve import (#36229)

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
 

‎packages/gatsby-link/src/rewrite-link-path.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { resolve } from "@gatsbyjs/reach-router/lib/utils"
1+
import { resolve } from "@gatsbyjs/reach-router"
22
// Specific import to treeshake Node.js stuff
33
import { applyTrailingSlashOption } from "gatsby-page-utils/apply-trailing-slash-option"
44
import { parsePath } from "./parse-path"

‎packages/gatsby/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@babel/traverse": "^7.15.4",
2020
"@babel/types": "^7.15.4",
2121
"@builder.io/partytown": "^0.5.2",
22-
"@gatsbyjs/reach-router": "^1.3.6",
22+
"@gatsbyjs/reach-router": "^1.3.9",
2323
"@gatsbyjs/webpack-hot-middleware": "^2.25.2",
2424
"@graphql-codegen/add": "^3.1.1",
2525
"@graphql-codegen/core": "^2.5.1",

‎yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -1686,10 +1686,10 @@
16861686
dependencies:
16871687
jimp "^0.16.1"
16881688

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

0 commit comments

Comments
 (0)
Please sign in to comment.