@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2013-2025 Ghost Foundation
3
+ Copyright (c) 2013-2026 Ghost Foundation
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -17,4 +17,4 @@ Follow the instructions for the top-level repo.
17
17
 
18
18
  # Copyright & License
19
19
 
20
- Copyright (c) 2013-2025 Ghost Foundation - Released under the [MIT license](LICENSE).
20
+ Copyright (c) 2013-2026 Ghost Foundation - Released under the [MIT license](LICENSE).
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 = _interopRequireDefault(require("gatsby-link"));
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["default"], {
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.0.32",
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 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'",
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.3",
32
- "@babel/core": "7.28.5",
33
- "@babel/preset-env": "7.28.5",
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": "10.1.3",
35
+ "c8": "11.0.0",
36
36
  "mocha": "11.7.5",
37
- "react": "18.3.1",
38
- "rimraf": "6.1.2",
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": "1.3.9",
44
- "@tryghost/helpers": "^1.1.100",
45
- "gatsby-link": "4.17.0",
46
- "prop-types": "^15.6.2"
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": "a5b249c5514742350f74bcb30b332977d373598a"
51
+ "gitHead": "363a7f5cf228bd7cc7ee92e6fb54c7b6796d7260"
52
52
  }