-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(en): merge rollup/master into rollup-docs-cn/master @ 615efa04 #169
Open
docschina-bot
wants to merge
18
commits into
master
Choose a base branch
from
sync-615efa04
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It is quite flaky but not definitely broken. This causes issues for unrelated changes.
* Set hasDeoptimizedCache to true as early as possible * add test
"This remove" → "This removes"
* feat: optimize the literal value of unary expressions * correct the return value
* fix(deps): update swc monorepo * Manually update further --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lukas Taegert-Atkinson <lukas.taegert-atkinson@tngtech.com>
* fix(deps): lock file maintenance minor/patch updates * Revert update as that needs to match the transitive dependency --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lukas Taegert-Atkinson <lukas.taegert-atkinson@tngtech.com>
…thin logical expressions (#5819) * return UnknownValue if getLiteralValueAtPath is called recursively within logical expressions * tweak test
Required to add default chunking
* Reapply object tree-shaking This reverts commit 10bc150. * Only rely on stable property paths when deoptimizing member expressions Literal values may be deoptimized later. At that point, we would otherwise need to deoptimize again. For hasEffects, we can use dynamic literal values as those checks are repeatedly executed. Resolves #5735 * Do not mark unused rest parameters as undefined resolves #5739 * add an test for issue 5734 * update linting * reduce the count of includePath for ClassBody * Split includePath into include, includeNode, includePath - include is for re-including on every pass - includePath is only for including specific non-empty paths once - includeNode is for triggering logic on first include, like includePath. * update test * Test if using a shared prototype function can improve performance * Use trivial includeNode method where possible * Remove unnecessary applyDeoptimizations calls * Move applyDeoptimizations check from include to includeNode This should avoid an unnecessary check. * Only deoptimize body for ArrowFunctionExpression For block scopes, this is not needed. * Handle accessed outside variables on includeNode rather than applyDeoptimizations * If a node has not special logic on include or deoptimize, replace check * See if we can reduce the number of tree-shaking passes The idea is to again eagerly include variable inits, but not in a nested call but in a loop at the end of the regular pass. * Ensure that deoptimizing a MemberExpression does not crash * Ensure the "in" operators includes is second operand * When including all children of a CallExpression, also include all paths * 4.30.0-0 * Make sure to use builtins when building for Node Solves an issue when linking with pnpm. * Revert making objects truthy for now This solves an issue with TypeScript enums. A proper solution should be to improve tracking of uninitialized vars. * 4.30.0-1 * Include variable inits per module instead of per pass This should reduce peak memory consumption. * Skip checking for effects in functions with side effects * Do not cache known paramter value as frozen Adding the fallback on each call is not more expensive. * Limit number of tracked deoptimized fields for parameters * 4.31.0-0 * Remove unnecessary array conversion * Only track top-level inclusions for parameters This is a massive performance improvement especially in scenarios with recursive calls where different properties of a function argument are passed to the same function. * Only track arguments in the ArgumentsVariable if referenced This should save some memory which is rarely needed. * 4.33.0-0 --------- Co-authored-by: XiaoPi <530257315@qq.com>
…zed (#5827) * Ensure that functions provided to a constructor are properly deoptimized * Make argument inclusion more symmetric (resolves #5823)
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
❌ Deploy Preview for relaxed-alfajores-47dd1b failed.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
此 PR 自动生成。
合并 rollup/rollup 的修改至本仓库(@ 615efa0)
以下文件存在冲突,可能需要重新翻译:
请解决所有冲突后提交到此 pull request,可直接在 Github 修改、切换到 sync-615efa04 分支进行修改或者使用 Github Desktop 拉取此 pr 修改并提交。
禁止使用 Squash Merge 来合并此 Pull Request!
使用该操作会导致上游仓库的内容丢失,并致使下一次合并产生冲突。