valaxy-theme-yun 0.14.31 → 0.14.33

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.
@@ -20,7 +20,7 @@ watch(() => props.posts, () => {
20
20
  if (post.hide && post.hide !== 'index')
21
21
  return
22
22
  if (post.date) {
23
- const year = parseInt(formatDate(post.date, 'YYYY'))
23
+ const year = Number.parseInt(formatDate(post.date, 'YYYY'))
24
24
  if (postListByYear.value[year]) {
25
25
  postListByYear.value[year].push(post)
26
26
  }
@@ -1,5 +1,6 @@
1
1
  <script lang="ts" setup>
2
2
  import { useTwikooWithOptions } from 'valaxy-addon-twikoo'
3
+ import 'valaxy-addon-twikoo/client/styles/index.scss'
3
4
 
4
5
  useTwikooWithOptions()
5
6
  </script>
@@ -7,7 +8,3 @@ useTwikooWithOptions()
7
8
  <template>
8
9
  <div id="tcomment" w="full" />
9
10
  </template>
10
-
11
- <style lang="scss">
12
- @use 'valaxy-addon-twikoo/client/styles/index.scss';
13
- </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valaxy-theme-yun",
3
- "version": "0.14.31",
3
+ "version": "0.14.33",
4
4
  "author": {
5
5
  "email": "me@yunyoujun.cn",
6
6
  "name": "YunYouJun",
@@ -24,6 +24,6 @@
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/animejs": "^3.1.7",
27
- "valaxy": "0.14.31"
27
+ "valaxy": "0.14.33"
28
28
  }
29
29
  }