@waline/client 2.6.3 → 2.6.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@waline/client",
3
- "version": "2.6.3",
3
+ "version": "2.6.4",
4
4
  "description": "client for waline comment system",
5
5
  "keywords": [
6
6
  "valine",
@@ -61,7 +61,7 @@
61
61
  "clean": "rimraf ./dist",
62
62
  "dev": "vite -c config/vite.config.js",
63
63
  "lint": "eslint --ext .ts,.vue .",
64
- "prepublish": "pnpm clean && pnpm build",
64
+ "prepublishOnly": "pnpm clean && pnpm build",
65
65
  "rollup": "rollup -c ./config/rollup.config.js",
66
66
  "style": "sass ./src/styles/index.scss ./dist/waline.css --style=compressed"
67
67
  },
@@ -80,29 +80,29 @@
80
80
  ]
81
81
  },
82
82
  "dependencies": {
83
- "@vueuse/core": "^9.1.0",
83
+ "@vueuse/core": "^9.1.1",
84
84
  "autosize": "^5.0.1",
85
- "marked": "^4.0.18",
86
- "vue": "^3.2.37"
85
+ "marked": "^4.1.0",
86
+ "vue": "^3.2.38"
87
87
  },
88
88
  "devDependencies": {
89
- "@babel/core": "7.18.10",
89
+ "@babel/core": "7.18.13",
90
90
  "@babel/preset-env": "7.18.10",
91
91
  "@rollup/plugin-babel": "5.3.1",
92
92
  "@rollup/plugin-commonjs": "22.0.2",
93
93
  "@rollup/plugin-node-resolve": "13.3.0",
94
94
  "@rollup/plugin-replace": "4.0.0",
95
95
  "@types/autosize": "4.0.1",
96
- "@types/marked": "4.0.3",
97
- "@types/node": "18.7.3",
96
+ "@types/marked": "4.0.6",
97
+ "@types/node": "18.7.14",
98
98
  "@vitejs/plugin-vue": "3.0.3",
99
99
  "rimraf": "3.0.2",
100
- "rollup": "2.78.0",
100
+ "rollup": "2.79.0",
101
101
  "rollup-plugin-dts": "4.2.2",
102
102
  "rollup-plugin-terser": "7.0.2",
103
103
  "rollup-plugin-ts": "3.0.2",
104
- "typescript": "4.7.4",
105
- "vite": "3.0.7"
104
+ "typescript": "4.8.2",
105
+ "vite": "3.0.9"
106
106
  },
107
107
  "engines": {
108
108
  "node": ">=14"
@@ -10,8 +10,8 @@ export default generateLocale([
10
10
  'Hãy bình luận có văn hoá!',
11
11
  'Chưa có bình luận',
12
12
  'Gửi',
13
- 'Like',
14
- 'Cancel like',
13
+ 'Thích',
14
+ 'Bỏ thích',
15
15
  'Trả lời',
16
16
  'Hủy bỏ',
17
17
  'bình luận',
@@ -28,19 +28,19 @@ export default generateLocale([
28
28
  'Đang tải lên',
29
29
  'Đăng nhập',
30
30
  'đăng xuất',
31
- 'Admin',
32
- 'Sticky',
31
+ 'Quản trị viên',
32
+ 'Dính',
33
33
  'từ',
34
- 'Please input comments between $0 and $1 words!\n Current word number: $2',
34
+ 'Bình luận phải độ dài giữa $0 $1 từ!\n Số từ hiện tại: $2',
35
35
  'Vô danh',
36
- 'Dwarves',
37
- 'Hobbits',
38
- 'Ents',
39
- 'Wizards',
40
- 'Elves',
36
+ 'Người lùn',
37
+ 'Người tí hon',
38
+ 'Thần rừng',
39
+ 'Pháp sư',
40
+ 'Tiên tộc',
41
41
  'Maiar',
42
- 'GIF',
43
- 'Tìm kiếm GIF',
42
+ 'Ảnh GIF',
43
+ 'Tìm kiếm ảnh GIF',
44
44
  'thông tin cá nhân',
45
45
  'Đã được phê duyệt',
46
46
  'Đang chờ đợi',
@@ -145,7 +145,7 @@ export interface WalineProps {
145
145
  *
146
146
  * Set Emojis
147
147
  *
148
- * @default ['//unpkg.com/@waline/emojis@1.0.1/weibo']
148
+ * @default ['//unpkg.com/@waline/emojis@1.1.0/weibo']
149
149
  */
150
150
  emoji?: (string | WalineEmojiInfo)[] | false;
151
151
 
@@ -51,7 +51,7 @@ export const getConfig = ({
51
51
  path = location.pathname,
52
52
  lang = defaultLang,
53
53
  locale,
54
- emoji = ['//unpkg.com/@waline/emojis@1.0.1/weibo'],
54
+ emoji = ['//unpkg.com/@waline/emojis@1.1.0/weibo'],
55
55
  meta = ['nick', 'mail', 'link'],
56
56
  requiredMeta = [],
57
57
  dark = false,