hexo-component-inferno 2.0.4 → 3.1.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.
- package/lib/hexo/filter/locals.js +2 -2
- package/lib/hexo/helper/cdn.test.js +7 -7
- package/lib/schema/comment/giscus.json +105 -0
- package/lib/schema/schema/comment/giscus.json +105 -0
- package/lib/view/comment/changyan.js +14 -16
- package/lib/view/comment/disqus.js +14 -16
- package/lib/view/comment/disqusjs.js +14 -16
- package/lib/view/comment/facebook.js +14 -16
- package/lib/view/comment/giscus.js +198 -0
- package/lib/view/comment/gitalk.js +14 -16
- package/lib/view/comment/gitment.js +14 -16
- package/lib/view/comment/isso.js +14 -16
- package/lib/view/comment/livere.js +14 -16
- package/lib/view/comment/twikoo.js +15 -17
- package/lib/view/comment/utterances.js +15 -17
- package/lib/view/comment/valine.js +14 -16
- package/lib/view/comment/waline.js +14 -16
- package/lib/view/common/article_media.js +14 -16
- package/lib/view/donate/afdian.js +14 -16
- package/lib/view/donate/alipay.js +14 -16
- package/lib/view/donate/buymeacoffee.js +14 -16
- package/lib/view/donate/patreon.js +14 -16
- package/lib/view/donate/paypal.js +14 -16
- package/lib/view/donate/wechat.js +14 -16
- package/lib/view/misc/article_licensing.js +14 -16
- package/lib/view/misc/meta.js +15 -17
- package/lib/view/misc/open_graph.js +14 -16
- package/lib/view/misc/paginator.js +14 -16
- package/lib/view/misc/structured_data.js +14 -16
- package/lib/view/misc/web_app.js +19 -21
- package/lib/view/plugin/baidu_analytics.js +14 -16
- package/lib/view/plugin/bing_webmaster.js +14 -16
- package/lib/view/plugin/busuanzi.js +14 -16
- package/lib/view/plugin/cnzz.js +14 -16
- package/lib/view/plugin/cookie_consent.js +14 -16
- package/lib/view/plugin/gallery.js +14 -16
- package/lib/view/plugin/google_analytics.js +14 -16
- package/lib/view/plugin/hotjar.js +14 -16
- package/lib/view/plugin/katex.js +14 -16
- package/lib/view/plugin/mathjax.js +14 -16
- package/lib/view/plugin/outdated_browser.js +14 -16
- package/lib/view/plugin/progressbar.js +14 -16
- package/lib/view/plugin/statcounter.js +14 -16
- package/lib/view/plugin/twitter_conversion_tracking.js +14 -16
- package/lib/view/search/algolia.js +14 -16
- package/lib/view/search/baidu.js +14 -16
- package/lib/view/search/google_cse.js +14 -16
- package/lib/view/search/insight.js +14 -16
- package/lib/view/share/addthis.js +14 -16
- package/lib/view/share/addtoany.js +14 -16
- package/lib/view/share/bdshare.js +14 -16
- package/lib/view/share/sharejs.js +14 -16
- package/lib/view/share/sharethis.js +14 -16
- package/lib/view/widget/adsense.js +14 -16
- package/lib/view/widget/archives.js +15 -17
- package/lib/view/widget/categories.js +14 -16
- package/lib/view/widget/followit.js +14 -16
- package/lib/view/widget/links.js +14 -16
- package/lib/view/widget/recent_posts.js +14 -16
- package/lib/view/widget/subscribe_email.js +14 -16
- package/lib/view/widget/tags.js +14 -16
- package/lib/view/widget/toc.js +17 -19
- package/lib/view/widget/toc.test.js +2 -2
- package/package.json +30 -28
|
@@ -4,8 +4,8 @@ var _inferno = require("inferno");
|
|
|
4
4
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
5
5
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7
|
-
function _defineProperty(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
7
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
10
|
var Toc = require('./toc');
|
|
11
11
|
var _require = require('inferno-test-utils'),
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hexo-component-inferno",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
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",
|
|
7
7
|
"author": "ppoffice <ppoffice@users.noreply.github.com>",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"engines": {
|
|
10
|
-
"node": ">=
|
|
10
|
+
"node": ">=14"
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
13
|
"test": "jest",
|
|
@@ -29,38 +29,40 @@
|
|
|
29
29
|
"asset/"
|
|
30
30
|
],
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@babel/cli": "^7.
|
|
33
|
-
"@babel/core": "^7.
|
|
34
|
-
"@babel/preset-env": "^7.
|
|
35
|
-
"@types/hexo": "^3.8.
|
|
36
|
-
"@types/hexo-util": "^0.6.
|
|
37
|
-
"babel-plugin-inferno": "^6.1
|
|
38
|
-
"cheerio": "^1.0.0-rc.
|
|
39
|
-
"deepmerge": "^4.
|
|
40
|
-
"eslint": "^8.
|
|
32
|
+
"@babel/cli": "^7.23.9",
|
|
33
|
+
"@babel/core": "^7.23.9",
|
|
34
|
+
"@babel/preset-env": "^7.23.9",
|
|
35
|
+
"@types/hexo": "^3.8.12",
|
|
36
|
+
"@types/hexo-util": "^0.6.8",
|
|
37
|
+
"babel-plugin-inferno": "^6.7.1",
|
|
38
|
+
"cheerio": "^1.0.0-rc.12",
|
|
39
|
+
"deepmerge": "^4.3.1",
|
|
40
|
+
"eslint": "^8.56.0",
|
|
41
41
|
"eslint-config-hexo": "^5.0.0",
|
|
42
|
-
"eslint-config-prettier": "^
|
|
43
|
-
"eslint-plugin-jest": "^
|
|
42
|
+
"eslint-config-prettier": "^9.1.0",
|
|
43
|
+
"eslint-plugin-jest": "^27.6.3",
|
|
44
44
|
"eslint-plugin-json": "^3.1.0",
|
|
45
|
-
"eslint-plugin-react": "^7.
|
|
46
|
-
"hexo-renderer-marked": "^
|
|
45
|
+
"eslint-plugin-react": "^7.33.2",
|
|
46
|
+
"hexo-renderer-marked": "^6.2.0",
|
|
47
47
|
"html-minifier": "^4.0.0",
|
|
48
|
-
"inferno-server": "^
|
|
49
|
-
"inferno-test-utils": "^8.
|
|
50
|
-
"jest": "^
|
|
51
|
-
"
|
|
48
|
+
"inferno-server": "^8.2.3",
|
|
49
|
+
"inferno-test-utils": "^8.2.3",
|
|
50
|
+
"jest": "^29.7.0",
|
|
51
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
52
|
+
"jsdoc": "^4.0.2",
|
|
52
53
|
"minami": "^1.2.3",
|
|
53
|
-
"prettier": "^2.
|
|
54
|
+
"prettier": "^3.2.4",
|
|
55
|
+
"taffydb": "^2.7.3"
|
|
54
56
|
},
|
|
55
57
|
"dependencies": {
|
|
56
|
-
"ajv": "^8.
|
|
57
|
-
"hexo": "^
|
|
58
|
-
"hexo-pagination": "^
|
|
59
|
-
"hexo-util": "^
|
|
60
|
-
"inferno": "^
|
|
61
|
-
"inferno-create-element": "^
|
|
58
|
+
"ajv": "^8.12.0",
|
|
59
|
+
"hexo": "^7.1.1",
|
|
60
|
+
"hexo-pagination": "^3.0.0",
|
|
61
|
+
"hexo-util": "^3.2.0",
|
|
62
|
+
"inferno": "^8.2.3",
|
|
63
|
+
"inferno-create-element": "^8.2.3",
|
|
62
64
|
"js-yaml": "^4.1.0",
|
|
63
|
-
"moment": "^2.
|
|
64
|
-
"semver": "^7.
|
|
65
|
+
"moment": "^2.30.1",
|
|
66
|
+
"semver": "^7.5.4"
|
|
65
67
|
}
|
|
66
68
|
}
|