@lobehub/ui 1.158.0 → 1.158.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/es/hooks/useHighlight.js +1 -1
- package/package.json +3 -2
package/es/hooks/useHighlight.js
CHANGED
|
@@ -23,7 +23,7 @@ export var useHighlight = function useHighlight(text, lang, isDarkMode) {
|
|
|
23
23
|
case 5:
|
|
24
24
|
_context.prev = 5;
|
|
25
25
|
_context.t0 = _context["catch"](0);
|
|
26
|
-
console.error(
|
|
26
|
+
console.error('shiki Highlight error:', _context.t0);
|
|
27
27
|
return _context.abrupt("return", text);
|
|
28
28
|
case 9:
|
|
29
29
|
case "end":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/ui",
|
|
3
|
-
"version": "1.158.
|
|
3
|
+
"version": "1.158.1",
|
|
4
4
|
"description": "Lobe UI is an open-source UI component library for building AIGC web apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lobehub",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"lint:md": "remark . --quiet --frail --output",
|
|
56
56
|
"lint:style": "stylelint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
|
|
57
57
|
"prepare": "husky && npm run setup",
|
|
58
|
-
"prepublishOnly": "
|
|
58
|
+
"prepublishOnly": "clean-publish",
|
|
59
59
|
"prettier": "prettier -c --write --no-error-on-unmatched-pattern \"**/**\"",
|
|
60
60
|
"pull": "git pull",
|
|
61
61
|
"release": "semantic-release",
|
|
@@ -137,6 +137,7 @@
|
|
|
137
137
|
"@types/uuid": "^10.0.0",
|
|
138
138
|
"@vitest/coverage-v8": "~1.2.2",
|
|
139
139
|
"babel-plugin-antd-style": "^1.0.4",
|
|
140
|
+
"clean-publish": "^5.1.0",
|
|
140
141
|
"commitlint": "^19.6.1",
|
|
141
142
|
"concurrently": "^9.1.2",
|
|
142
143
|
"cross-env": "^7.0.3",
|