itube-specs 0.0.371 → 0.0.372

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.
@@ -89,7 +89,7 @@ const isActive = computed(() => {
89
89
  }
90
90
 
91
91
  const current = route.path.replace(/^\/|\/$/g, '');
92
- const target = targetPath.value.replace(/^\/|\/$/g, '');
92
+ const target = generateLink(targetPath.value).replace(/^\/|\/$/g, '');
93
93
 
94
94
  return current === target;
95
95
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "itube-specs",
3
3
  "type": "module",
4
- "version": "0.0.371",
4
+ "version": "0.0.372",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "./types/index.d.ts",
7
7
  "scripts": {
@@ -25,4 +25,5 @@ export const cleanVideoData = (data: IRawVideoData): IVideoData => ({
25
25
  videoUrl: data.video_url || '',
26
26
  isDeleted: data.is_deleted || false,
27
27
  thumbNum: data.thumb_number || 0,
28
+ description: data.description || '',
28
29
  })
@@ -10,7 +10,7 @@ export interface IRawVideoData {
10
10
  is_hd: boolean; // unused
11
11
  title: string;
12
12
  header: string;
13
- description: string; // unused
13
+ description: string;
14
14
  views: number;
15
15
  likes: number;
16
16
  dislikes: number; // unused
@@ -34,4 +34,5 @@ export interface IVideoData {
34
34
  videoUrl: string;
35
35
  isDeleted: boolean;
36
36
  thumbNum: number;
37
+ description: string;
37
38
  }