blog
blog copied to clipboard
Life is a moment :notebook_with_decorative_cover:
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) Commits See full diff in compare...
# TypeScript extends 精读与实践 在大多数程序中,我们必须根据输入做出决策。TypeScript 也不例外,使用条件类型可以描述输入类型与输出类型之间的关系。 ## 用于条件判断时的 extends 当 extends 表示条件判断时,可以总结出以下规律 1. 若位于 extends 两侧的类型相同,则 extends 在语义上可理解为 `===`,可以参考如下例子: ```ts type result1 = 'a' extends 'abc' ? true : false...
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.1.3 to 3.4.1. Release notes Sourced from actions/setup-node's releases. Fix pnpm output and node-version output issues In scope of this release we fixed bugs related to the...
搭建树莓派网盘
1. smb 服务: https://www.v2fy.com/p/2021-10-03-pi-smb-1633231650000/ 2. nas: https://github.com/alanhg/alfred-workflows/discussions/248
Bumps [commitlint](https://github.com/conventional-changelog/commitlint/tree/HEAD/@alias/commitlint) from 11.0.0 to 17.0.3. Release notes Sourced from commitlint's releases. v17.0.3 17.0.3 (2022-06-25) Bug Fixes update dependency cosmiconfig-typescript-loader to v2.0.2 (#3250) (dfe69b0) Further changes chore(config-validator): update ajv to...
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1. Changelog Sourced from eventsource's changelog. 1.1.1 Do not include authorization and cookie headers on redirect to different origin (#273 Espen Hovlandsdal) 1.1.0 Improve performance...
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.3 to 3.0.2. Release notes Sourced from actions/checkout's releases. v3.0.2 What's Changed Add set-safe-directory input to allow customers to take control. by @TingluoHuang in actions/checkout#770 Prepare changelog...
Bumps [actions/github-script](https://github.com/actions/github-script) from 3.0.0 to 6.2.0. Release notes Sourced from actions/github-script's releases. v6.2.0 What's Changed Update @octokit/plugin-rest-endpoint-methods to version 6.x by @desrosj in actions/github-script#283 New Contributors @desrosj made their first...
Bumps [commitlint](https://github.com/conventional-changelog/commitlint/tree/HEAD/@alias/commitlint) from 11.0.0 to 17.1.2. Release notes Sourced from commitlint's releases. v17.1.2 17.1.2 (2022-08-29) Bug Fixes load: add ts-node as direct dependency (#3351) (3b66891) update dependency cosmiconfig-typescript-loader to v4...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.2 to 1.15.4. Commits 6585820 Release version 1.15.4 of the npm package. 7a6567e Disallow bracketed hostnames. 05629af Prefer native URL instead of deprecated url.parse. 1cba8e8 Prefer native...