这是indexloc提供的服务,不要输入任何密码
Skip to content

Turbopack Nightly Release turbopack-230221.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 21 Feb 18:49
· 4208 commits to main since this release
24801f4
add possible unknown mutation to objects and arrays (#3882)

Before the static evaluation didn't consider the fact that objects and arrays can be mutated. So we can't just assume for sure that they have certain properties/items. Instead we add an unknown mutation alternative to handle that.

This avoids `if(obj.prop)` to be replaced with `if(true)` when prop is initialized with true. It might be modified in future.