babel/packages/babel-helper-simple-access
Carlos Villavicencio 95fc38cecf Bumped lodash version (#7895)
* Bumped lodash version

* Fixed typo

* Fixed typos

* Revert "Fixed typo"

This reverts commit 06cfe9d4edba0b99257cbffc6dc08ae2f3460d78.

* Revert "Fixed typos"

This reverts commit ec3975c7392df9a0a42682ee4f32eadd2615c69c.

* Fixed json typos
2018-05-09 15:47:52 -07:00
..
2018-05-09 15:47:52 -07:00

@babel/helper-simple-assignment

There are many cases where it is hard to perform transformations because a piece of code is using complex structures. Say you want to rewrite all accesses to a given variable, and there are cases like

i += 1
--i;

It is difficult to work with.

This helper can handle converting these to simple access patterns of standard assignment. This plugin does not handle

{ a } = foo;

so assignment to patterns still needs to be handled when you are processing updates to values.

Usage

TODO