@tryghost/helpers-gatsby 2.0.32 → 2.1.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/LICENSE +1 -1
- package/README.md +1 -1
- package/lib/Tags.js +2 -2
- package/package.json +14 -14
package/LICENSE
CHANGED
package/README.md
CHANGED
package/lib/Tags.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
var _gatsbyLink =
|
|
9
|
+
var _gatsbyLink = require("gatsby-link");
|
|
10
10
|
var _helpers = require("@tryghost/helpers");
|
|
11
11
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
12
|
/**
|
|
@@ -79,7 +79,7 @@ var Tags = function Tags(props) {
|
|
|
79
79
|
return props.autolink ? /*#__PURE__*/_react["default"].createElement("span", {
|
|
80
80
|
className: props.classes,
|
|
81
81
|
key: tag.slug
|
|
82
|
-
}, /*#__PURE__*/_react["default"].createElement(_gatsbyLink
|
|
82
|
+
}, /*#__PURE__*/_react["default"].createElement(_gatsbyLink.Link, {
|
|
83
83
|
to: tagLink,
|
|
84
84
|
className: props.linkClasses
|
|
85
85
|
}, tag.name)) : /*#__PURE__*/_react["default"].createElement("span", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/helpers-gatsby",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/TryGhost/SDK.git",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"main": "./lib/index.js",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"dev": "echo \"Implement me!\"",
|
|
14
|
-
"test": "NODE_ENV=testing c8 --
|
|
14
|
+
"test": "NODE_ENV=testing c8 --src lib --reporter text --reporter cobertura mocha './test/**/*.test.js'",
|
|
15
15
|
"lint": "eslint . --ext .js --cache",
|
|
16
16
|
"posttest": "yarn lint",
|
|
17
17
|
"clean": "rimraf lib",
|
|
@@ -28,25 +28,25 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@babel/cli": "7.28.
|
|
32
|
-
"@babel/core": "7.
|
|
33
|
-
"@babel/preset-env": "7.
|
|
31
|
+
"@babel/cli": "7.28.6",
|
|
32
|
+
"@babel/core": "7.29.0",
|
|
33
|
+
"@babel/preset-env": "7.29.0",
|
|
34
34
|
"@babel/preset-react": "7.28.5",
|
|
35
|
-
"c8": "
|
|
35
|
+
"c8": "11.0.0",
|
|
36
36
|
"mocha": "11.7.5",
|
|
37
|
-
"react": "
|
|
38
|
-
"rimraf": "6.1.
|
|
37
|
+
"react": "19.2.4",
|
|
38
|
+
"rimraf": "6.1.3",
|
|
39
39
|
"should": "13.2.3",
|
|
40
40
|
"sinon": "21.0.1"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@gatsbyjs/reach-router": "
|
|
44
|
-
"@tryghost/helpers": "^1.1.
|
|
45
|
-
"gatsby-link": "
|
|
46
|
-
"prop-types": "
|
|
43
|
+
"@gatsbyjs/reach-router": "2.0.1",
|
|
44
|
+
"@tryghost/helpers": "^1.1.102",
|
|
45
|
+
"gatsby-link": "5.16.0",
|
|
46
|
+
"prop-types": "15.8.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"react": "^18.1.0"
|
|
49
|
+
"react": "^18.1.0 || ^19.0.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "363a7f5cf228bd7cc7ee92e6fb54c7b6796d7260"
|
|
52
52
|
}
|