gatsby-link 2.3.3 → 2.4.0

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/index.js +2 -2
  3. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -3,6 +3,20 @@
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
+ # [2.4.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-link@2.3.5...gatsby-link@2.4.0) (2020-04-27)
7
+
8
+ **Note:** Version bump only for package gatsby-link
9
+
10
+ ## [2.3.5](https://github.com/gatsbyjs/gatsby/compare/gatsby-link@2.3.4...gatsby-link@2.3.5) (2020-04-24)
11
+
12
+ **Note:** Version bump only for package gatsby-link
13
+
14
+ ## [2.3.4](https://github.com/gatsbyjs/gatsby/compare/gatsby-link@2.3.3...gatsby-link@2.3.4) (2020-04-17)
15
+
16
+ ### Bug Fixes
17
+
18
+ - wrap ignore pattern in quotes ([#23176](https://github.com/gatsbyjs/gatsby/issues/23176)) ([7563db6](https://github.com/gatsbyjs/gatsby/commit/7563db6))
19
+
6
20
  ## [2.3.3](https://github.com/gatsbyjs/gatsby/compare/gatsby-link@2.3.2...gatsby-link@2.3.3) (2020-04-16)
7
21
 
8
22
  **Note:** Version bump only for package gatsby-link
package/index.js CHANGED
@@ -169,7 +169,7 @@ var GatsbyLink = /*#__PURE__*/function (_React$Component) {
169
169
  }
170
170
 
171
171
  var prefixedTo = withPrefix(to);
172
- return _react.default.createElement(_router.Link, (0, _extends2.default)({
172
+ return /*#__PURE__*/_react.default.createElement(_router.Link, (0, _extends2.default)({
173
173
  to: prefixedTo,
174
174
  state: state,
175
175
  getProps: getProps,
@@ -220,7 +220,7 @@ var showDeprecationWarning = function showDeprecationWarning(functionName, altFu
220
220
  };
221
221
 
222
222
  var _default = _react.default.forwardRef(function (props, ref) {
223
- return _react.default.createElement(GatsbyLink, (0, _extends2.default)({
223
+ return /*#__PURE__*/_react.default.createElement(GatsbyLink, (0, _extends2.default)({
224
224
  innerRef: ref
225
225
  }, props));
226
226
  });
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": "2.3.3",
4
+ "version": "2.4.0",
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.8.7",
10
+ "@babel/runtime": "^7.9.2",
11
11
  "@types/reach__router": "^1.3.3",
12
12
  "prop-types": "^15.7.2"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@babel/cli": "^7.8.4",
16
- "@babel/core": "^7.8.7",
16
+ "@babel/core": "^7.9.0",
17
17
  "@testing-library/react": "^9.5.0",
18
- "babel-preset-gatsby-package": "^0.3.1",
18
+ "babel-preset-gatsby-package": "^0.4.0",
19
19
  "cross-env": "^5.2.1"
20
20
  },
21
21
  "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-link#readme",
@@ -36,13 +36,13 @@
36
36
  "directory": "packages/gatsby-link"
37
37
  },
38
38
  "scripts": {
39
- "build": "babel src --out-dir . --ignore **/__tests__",
39
+ "build": "babel src --out-dir . --ignore \"**/__tests__\"",
40
40
  "prepare": "cross-env NODE_ENV=production npm run build",
41
- "watch": "babel -w src --out-dir . --ignore **/__tests__"
41
+ "watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
42
42
  },
43
43
  "types": "index.d.ts",
44
44
  "engines": {
45
45
  "node": ">=10.13.0"
46
46
  },
47
- "gitHead": "d3823b5b2af478ce861a38413ee6b4d4f3cc6da9"
47
+ "gitHead": "fb92ede949f67c16a247ea5b0bc96934f0534dd2"
48
48
  }