Kevin Deng

Results 418 comments of Kevin Deng

> Maybe we could keep replacing symbols to `_` but escape CJK chars for better readability. @antfu IMHO, I don't think it's a good solution. Matching CJK is a complicated...

It can only match Chinese characters, but can't Japanese Kana, Korean Hangeul... There are lots of other language characters [around the world](https://en.wikipedia.org/wiki/List_of_writing_systems), e.g. Russian alphabet, and the Greek alphabet. How...

@posva I tried Chinese and Japanese characters, and it can work. So maybe can we skip escaping from Unicode characters?

I found an API [`CSS.escape`](https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape), it can escape css var name perfectly. But it's browser-only API. Can I add a polyfill dependency [css.escape](https://www.npmjs.com/package/css.escape) to `compiler-sfc`?

@posva Updated. It only escapes ASCII punctuation and symbols:  !"#$%&'()*+,./:;?@[\\]^`{|}~

@BePo65 Currently, we plan to release `next` branch as v3, because refactoring all code is a really heavy task. v2 will only fix supporting ESM.

@Bykiev it has been released as `2.0.0-alpha.4`. When does it get stable? I don't know. /cc @iamkun

dayjs 2 will be experimental in [Element Plus](https://github.com/element-plus/element-plus) v3 branch. When it gets stable, then we will consider making dayjs 2 into the stable branch.

Of course. I'm traveling now. I created this issue for reminding myself. I'll provide more info when I get back! 😛