@tryghost/helpers-gatsby 2.0.20 → 2.0.22

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-2023 Ghost Foundation
3
+ Copyright (c) 2013-2025 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-2023 Ghost Foundation - Released under the [MIT license](LICENSE).
20
+ Copyright (c) 2013-2025 Ghost Foundation - Released under the [MIT license](LICENSE).
package/lib/Tags.js CHANGED
@@ -8,7 +8,7 @@ var _react = _interopRequireDefault(require("react"));
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
  var _gatsbyLink = _interopRequireDefault(require("gatsby-link"));
10
10
  var _helpers = require("@tryghost/helpers");
11
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
12
  /**
13
13
  * Tags helper
14
14
  *
@@ -50,7 +50,7 @@ var Tags = function Tags(props) {
50
50
  get: function get() {
51
51
  if (props.separator === '') {
52
52
  return null;
53
- } else if ( /*#__PURE__*/_react["default"].isValidElement(props.separator)) {
53
+ } else if (/*#__PURE__*/_react["default"].isValidElement(props.separator)) {
54
54
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, {
55
55
  key: generateKey('separator')
56
56
  }, props.separator);
package/lib/index.js CHANGED
@@ -10,4 +10,4 @@ Object.defineProperty(exports, "Tags", {
10
10
  }
11
11
  });
12
12
  var _Tags = _interopRequireDefault(require("./Tags"));
13
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/helpers-gatsby",
3
- "version": "2.0.20",
3
+ "version": "2.0.22",
4
4
  "repository": "https://github.com/TryGhost/SDK/tree/main/packages/helpers-gatsby",
5
5
  "author": "Ghost Foundation",
6
6
  "license": "MIT",
@@ -24,25 +24,25 @@
24
24
  "access": "public"
25
25
  },
26
26
  "devDependencies": {
27
- "@babel/cli": "7.23.0",
28
- "@babel/core": "7.23.3",
29
- "@babel/preset-env": "7.23.3",
30
- "@babel/preset-react": "7.23.3",
31
- "c8": "8.0.1",
32
- "mocha": "10.2.0",
33
- "react": "18.2.0",
34
- "rimraf": "5.0.5",
27
+ "@babel/cli": "7.27.0",
28
+ "@babel/core": "7.26.10",
29
+ "@babel/preset-env": "7.26.9",
30
+ "@babel/preset-react": "7.26.3",
31
+ "c8": "10.1.3",
32
+ "mocha": "11.1.0",
33
+ "react": "18.3.1",
34
+ "rimraf": "5.0.10",
35
35
  "should": "13.2.3",
36
- "sinon": "17.0.1"
36
+ "sinon": "20.0.0"
37
37
  },
38
38
  "dependencies": {
39
39
  "@gatsbyjs/reach-router": "1.3.9",
40
- "@tryghost/helpers": "^1.1.89",
40
+ "@tryghost/helpers": "^1.1.91",
41
41
  "gatsby-link": "4.17.0",
42
42
  "prop-types": "^15.6.2"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": "^18.1.0"
46
46
  },
47
- "gitHead": "4839d3f97de2120d98fa47677eed7591dfa20e64"
47
+ "gitHead": "19592ba6684cd896674e6bd1da92e3eb06e665f2"
48
48
  }