Sukka

Results 151 issues of Sukka

Clash API 根据 `/logs` 的 `lavel` 参数输出不同等级的日志。目前 `clash-dashboard` 是读取并跟随 Clash 配置文件中 `log-level` 的设定。

cc @thysultan stylis contains a dead simple `hash` function used for matching CSS properties, and I am wondering how safe it is. So I write a small PoC: ```js const...

Fixes #292 Use `djb2` to hash the entire css property. A test case using `known-css-properties` has been added to make sure there is no collision. The bundle size before the...

Bump the default swc build target to `es2016`. Next.js already uses `es2016` for precompiling client-side core lib way back in Next.js 11.0.2 (#27196, by @timneutkens). Even though the user code...

type: next

[`vmactions/freebsd-vm`](https://github.com/vmactions/freebsd-vm) is now recommending specifying the major version (i.e. `vmactions/freebsd-vm@v0`), as I quote: > The latest major version is: `v0`, which is the most recommended to use.

OK, `renameProperties` is dangerous and it can break the code. With `reservedNames` it is possible to prevent some properties from being touched. So what about we provide a list and...

Facebook's stylex has evolved a lot since it is being first introduced in [React Conf 2019](https://www.youtube.com/watch?v=9JZHodNR184). At the time, stylex uses a syntax like this: ```ts const styles = stylex.create({...

Some libraries (like widely used [got](https://npm.im)) utilize `ES6 Map`-like cache API. Adding an alias `delete -> del` and adding a `clear` method will make `node-cache` be compatible with those libraries...

**需求应用场景** 上下文: https://github.com/pymumu/smartdns/issues/975#issuecomment-1175053848 > 当前设计就是关闭测速后,仅会使用响应最快的DNS结果,并不会将所有结果合并。 > > 目前看来,将所有结果合并没有太多意义。 ---- 当前我们将 smartdns 用于某广域网优化产品中;我们的广域网优化中的 TCP 栈会自动与上游 DNS 返回的所有结果 IP 同时并发进行握手,然后使用最先返回 ACK 的连接(其余连接发送 FIN),因此不需要由 smartdns 异步测速(并发 TCP 握手并使用最早握手成功的连接一定是延时最低的)。在当前技术栈下,我们希望 smartdns 能够从多个上游尽可能获得并返回尽可能多的 IP(供我们的 TCP 客户端进行并发握手)...

Why do we need lodash if we can utilize features provided by the ECMAScript itself :)