hexo-component-inferno 3.1.0 → 3.1.2

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.
@@ -78,6 +78,9 @@ var Giscus = /*#__PURE__*/function (_Component) {
78
78
  var config = {
79
79
  repo: repo
80
80
  };
81
+ config['data-repo'] = repo;
82
+ config['data-repo-id'] = repoId;
83
+ config['data-category-id'] = categoryId;
81
84
  if (category) {
82
85
  config['data-category'] = category;
83
86
  } else {
@@ -61,9 +61,11 @@ var Insight = /*#__PURE__*/function (_Component) {
61
61
  }), 2), (0, _inferno.createVNode)(1, "a", "searchbox-close", "\xD7", 16, {
62
62
  "href": "javascript:;"
63
63
  })], 4), (0, _inferno.createVNode)(1, "div", "searchbox-body")], 4), 2), (0, _inferno.createVNode)(1, "script", null, null, 1, {
64
+ "data-pjax": true,
64
65
  "src": jsUrl,
65
66
  "defer": true
66
67
  }), (0, _inferno.createVNode)(1, "script", null, null, 1, {
68
+ "data-pjax": true,
67
69
  "dangerouslySetInnerHTML": {
68
70
  __html: js
69
71
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-component-inferno",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "description": "A collection of Inferno.js layout components and utility scripts for Hexo",
5
5
  "main": "lib/index.js",
6
6
  "repository": "https://github.com/ppoffice/hexo-component-inferno",
@@ -35,7 +35,7 @@
35
35
  "@types/hexo": "^3.8.12",
36
36
  "@types/hexo-util": "^0.6.8",
37
37
  "babel-plugin-inferno": "^6.7.1",
38
- "cheerio": "^1.0.0-rc.12",
38
+ "cheerio": "1.0.0-rc.12",
39
39
  "deepmerge": "^4.3.1",
40
40
  "eslint": "^8.56.0",
41
41
  "eslint-config-hexo": "^5.0.0",