This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
Releases: facebookarchive/prepack
Releases · facebookarchive/prepack
v0.2.8
- Change error message when evaluating PossiblyNormalCompletion
- Added --omitInvariants option to prevent invariants from being included in generated code.
- Print out call stack in default error handler
- More simplifications
- Add missing check for invalid use of Map
- Simplify if conditions
v0.2.7
Basic expression simplification and refinement with path conditions. Various small improvements.
v0.2.6
Changed CLI options:
- Allow Prepack CLI to prepack multiple source files
- Disabling inlining of expressions by default; use --inlineExpressions option to activate this now optional feature.
- Disabling delaying of initialization code to residual functions; use --delayInitializations to activate this now optional feature.
Improvements to abstract reasoning:
- Support for certain abstraction uses of
toString
.
Improved ES6 support:
- Support for serialization symbol-based object properties
Many bug fixes, prepack performance and code generation improvements, including:
- Pure environment-facing statements are no longer emitted if produced value is not used
Work towards future features:
- Added a checker to determine if a set of residual functions do not have conflicting side effects when running right after global code; use internal additionalFunctions option (not yet exposed via CLI) to active this feature. This is the first step towards the bigger feature of prepacking certain residual functions.