gatsby-link 3.7.0-next.0 → 3.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.babelrc CHANGED
File without changes
package/.eslintrc.yaml CHANGED
File without changes
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.7.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-link@3.7.0...gatsby-link@3.7.1) (2021-06-10)
7
+
8
+ **Note:** Version bump only for package gatsby-link
9
+
10
+ # [3.7.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-link@3.7.0-next.2...gatsby-link@3.7.0) (2021-06-08)
11
+
12
+ **Note:** Version bump only for package gatsby-link
13
+
14
+ # [3.7.0-next.2](https://github.com/gatsbyjs/gatsby/compare/gatsby-link@3.7.0-next.1...gatsby-link@3.7.0-next.2) (2021-06-02)
15
+
16
+ **Note:** Version bump only for package gatsby-link
17
+
18
+ # [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-link@3.7.0-next.0...gatsby-link@3.7.0-next.1) (2021-05-31)
19
+
20
+ **Note:** Version bump only for package gatsby-link
21
+
6
22
  # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-link@3.6.0-next.0...gatsby-link@3.7.0-next.0) (2021-05-21)
7
23
 
8
24
  **Note:** Version bump only for package gatsby-link
package/LICENSE CHANGED
File without changes
package/index.js CHANGED
@@ -26,6 +26,7 @@ var _utils = require("@gatsbyjs/reach-router/lib/utils");
26
26
  var _parsePath = require("./parse-path");
27
27
 
28
28
  exports.parsePath = _parsePath.parsePath;
29
+ var _excluded = ["to", "getProps", "onClick", "onMouseEnter", "activeClassName", "activeStyle", "innerRef", "partiallyActive", "state", "replace", "_location"];
29
30
 
30
31
  var isAbsolutePath = function isAbsolutePath(path) {
31
32
  return path === null || path === void 0 ? void 0 : path.startsWith("/");
@@ -238,7 +239,7 @@ var GatsbyLink = /*#__PURE__*/function (_React$Component) {
238
239
  state = _this$props.state,
239
240
  replace = _this$props.replace,
240
241
  _location = _this$props._location,
241
- rest = (0, _objectWithoutPropertiesLoose2.default)(_this$props, ["to", "getProps", "onClick", "onMouseEnter", "activeClassName", "activeStyle", "innerRef", "partiallyActive", "state", "replace", "_location"]);
242
+ rest = (0, _objectWithoutPropertiesLoose2.default)(_this$props, _excluded);
242
243
 
243
244
  if (process.env.NODE_ENV !== "production" && !isLocalLink(to)) {
244
245
  console.warn("External link " + to + " was detected in a Link component. Use the Link component only for internal links. See: https://gatsby.dev/internal-links");
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "gatsby-link",
3
3
  "description": "An enhanced Link component for Gatsby sites with support for resource prefetching",
4
- "version": "3.7.0-next.0",
4
+ "version": "3.7.1",
5
5
  "author": "Kyle Mathews <mathews.kyle@gmail.com>",
6
6
  "bugs": {
7
7
  "url": "https://github.com/gatsbyjs/gatsby/issues"
8
8
  },
9
9
  "dependencies": {
10
- "@babel/runtime": "^7.12.5",
10
+ "@babel/runtime": "^7.14.0",
11
11
  "@types/reach__router": "^1.3.7",
12
12
  "prop-types": "^15.7.2"
13
13
  },
14
14
  "devDependencies": {
15
- "@babel/cli": "^7.12.1",
16
- "@babel/core": "^7.12.3",
15
+ "@babel/cli": "^7.14.0",
16
+ "@babel/core": "^7.14.0",
17
17
  "@testing-library/react": "^9.5.0",
18
- "babel-preset-gatsby-package": "^1.7.0-next.0",
18
+ "babel-preset-gatsby-package": "^1.7.1",
19
19
  "cross-env": "^7.0.3"
20
20
  },
21
21
  "peerDependencies": {
@@ -43,5 +43,5 @@
43
43
  "engines": {
44
44
  "node": ">=12.13.0"
45
45
  },
46
- "gitHead": "86532167e037de9bb26d67e2d4cc089e5b58f0d6"
46
+ "gitHead": "3be9c246afd928dc72a873567d5f6e3bf61e82a8"
47
47
  }
package/tsconfig.json CHANGED
File without changes