龙腾道

Results 32 issues of 龙腾道

https://github.com/yyx990803/buble/blob/368bf86df7c6b5a4afde14f5cd0ec9f27ece9c15/src/utils/globals.js#L3 不应该在解除`with`的编译过程中,把这些直接作为特例排除、编译成全局变量,因为它们很有可能是实例属性。比较好的做法可能是统统编译为`this.xxx`,然后在`Vue.prototype.xxx`中添加它们兜底。 (目前Vue需要记忆的隐秘特例实在有些多了,比如组件名与原生元素同名,会直接跳过组件是否存在的检测,而直接当作原生元素对待。哪怕用大写模式回避,但SVG类元素是无视这一点的(所以``作为template是不行的),而SVG元素的清单又特别难记而且长。但由于官网建议用包含`-`的字段作为组件名,所以只是刻意回避好名字有些麻烦,而且毕竟还有编译警告。) 而这次的实例属性特例问题,可能就突出一些了。这个清单不看源码不知道,而且文档没写意味着它可能是随时可变的。特别是`Intl`,我用了十年JS,刚知道还有这个东西。而且没有编译警告,所以不知道的人出错了要排查是非常困难的,排查出来以后也会有些影响Vue的口碑。

```js try { } catch { } ```

https://github.com/aheckmann/gm/blob/e715cbdaacad21504fc04f6933be5cae1812501e/lib/compare.js#L91 https://github.com/aheckmann/gm/blob/e715cbdaacad21504fc04f6933be5cae1812501e/lib/compare.js#L106 https://github.com/aheckmann/gm/blob/e715cbdaacad21504fc04f6933be5cae1812501e/lib/compare.js#L107 It's a feature or leak? --- I see these happened from https://github.com/aheckmann/gm/commit/5f5c77490aa84ed313405c88905eb4566135be31#diff-4188dbce06d21f3a05e4e5edb8aa4889 @rwky Would you help to review my fix PR #788 ?

**Bug report or Feature request?** Feature request **Version (complete output of `terser -V` or specific git commit)** 5.10.0 **Complete CLI command or `minify()` options used** default **`terser` input** ```js class...

modern syntax

**Bug report or Feature request?** Feature request **Version (complete output of `terser -V` or specific git commit)** 5.10.0 **Complete CLI command or `minify()` options used** default **`terser` input** ```js export...

bug
good first issue
modern syntax

**Bug report or Feature request?** Bug report **Version (complete output of `terser -V` or specific git commit)** try.terser.org **Complete CLI command or `minify()` options used** ``` { compress: { side_effects:...

bug
compress