diff --git a/CHANGELOG.md b/CHANGELOG.md index d12026c2..78a1073a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## [0.14.7](https://github.com/hakadao/BewlyBewly/compare/v0.14.6...v0.14.7) (2024-02-18) + + +### Bug Fixes + +* the article title remain black in dark mode ([#302](https://github.com/hakadao/BewlyBewly/issues/302)) ([b27a33c](https://github.com/hakadao/BewlyBewly/commit/b27a33c44d745509befa71ae68487ba4be1403a6)) +* the text color of the selection becomes white in some cases ([8210ff7](https://github.com/hakadao/BewlyBewly/commit/8210ff70a1e9d89226727b999304394b5cd136e9)) +* 正在追內容更新劇集不一致 ([#303](https://github.com/hakadao/BewlyBewly/issues/303)) ([3bc136a](https://github.com/hakadao/BewlyBewly/commit/3bc136a338769584b6852f523517f3b64417afa9)) + + +### Docs + +* add Firefox development section && correct the grammar ([d1d1fd0](https://github.com/hakadao/BewlyBewly/commit/d1d1fd0b2b3e66ea87377e10085c32d26db9467e)) + + +### Style Changes + +* adjust styles ([f40f1d9](https://github.com/hakadao/BewlyBewly/commit/f40f1d9ac0acc899df3e2bb3b8327d3c74a35c66)) + + +### Miscellaneous + +* update version number ([d472249](https://github.com/hakadao/BewlyBewly/commit/d472249084e292ea251d068297864ac369246e9b)) + ## [0.14.6](https://github.com/hakadao/BewlyBewly/compare/v0.14.5...v0.14.6) (2024-02-16) diff --git a/eslint.config.js b/eslint.config.js index 05cc5939..0d032469 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -14,6 +14,7 @@ module.exports = antfu({ }, }, ], + 'style/quote-props': 'off', }, eslint: { ignorePatterns: [ diff --git a/package.json b/package.json index 1a4e5765..ae6c7958 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bewly-bewly", "displayName": "BewlyBewly", - "version": "0.14.6", + "version": "0.14.7", "private": true, "packageManager": "pnpm@8.15.3", "description": "Just make a few small changes to your Bilibili homepage.", diff --git a/src/contentScripts/views/Video/types.ts b/src/contentScripts/views/Video/types.ts index 49f6e0fe..256456c0 100644 --- a/src/contentScripts/views/Video/types.ts +++ b/src/contentScripts/views/Video/types.ts @@ -230,32 +230,32 @@ export interface UserCardInfo { } export interface Comment { - 'rpid': number - 'oid': number - 'type': number - 'mid': number - 'root': 0 - 'parent': 0 - 'dialog': 0 - 'count': 0 - 'rcount': 0 - 'state': 0 - 'fansgrade': 0 - 'attr': 0 - 'ctime': number - 'like': 0 - 'action': 0 - 'member': { - 'mid': number - 'uname': string - 'sex': string - 'avatar': string - 'rank': string - 'level_info': { - 'current_level': number - 'current_min': number - 'current_exp': number - 'next_exp': number + rpid: number + oid: number + type: number + mid: number + root: 0 + parent: 0 + dialog: 0 + count: 0 + rcount: 0 + state: 0 + fansgrade: 0 + attr: 0 + ctime: number + like: 0 + action: 0 + member: { + mid: number + uname: string + sex: string + avatar: string + rank: string + level_info: { + current_level: number + current_min: number + current_exp: number + next_exp: number } // 'official_verify': { // 'type': -1 @@ -287,22 +287,22 @@ export interface Comment { // 'nickname_color': '' // } } - 'content': { - 'message': string - 'members': [] - 'jump_url': NonNullable - 'max_line': 6 + content: { + message: string + members: [] + jump_url: NonNullable + max_line: 6 } - 'replies'?: Comment[] - 'up_action': { - 'like': false - 'reply': false + replies?: Comment[] + up_action: { + like: false + reply: false } - 'invisible': false - 'folder': { - 'has_folded': false - 'is_folded': false - 'rule': '' + invisible: false + folder: { + has_folded: false + is_folded: false + rule: string } - 'dynamic_id_str': '0' + dynamic_id_str: string } diff --git a/src/utils/lazyLoad.ts b/src/utils/lazyLoad.ts index 4756d469..e6c79696 100644 --- a/src/utils/lazyLoad.ts +++ b/src/utils/lazyLoad.ts @@ -2,11 +2,11 @@ interface IdleDeadline { readonly didTimeout: boolean - timeRemaining(): number + timeRemaining: () => number } interface IDisposable { - dispose(): void + dispose: () => void } /**