@babel/helper-simple-access
Advanced tools
Comparing version 7.0.0-beta.49 to 7.0.0-beta.50
{ | ||
"name": "@babel/helper-simple-access", | ||
"version": "7.0.0-beta.49", | ||
"version": "7.0.0-beta.50", | ||
"description": "Babel helper for ensuring that access to a given value is performed through simple accesses", | ||
@@ -11,6 +11,6 @@ "author": "Logan Smyth <loganfsmyth@gmail.com>", | ||
"dependencies": { | ||
"@babel/template": "7.0.0-beta.49", | ||
"@babel/types": "7.0.0-beta.49", | ||
"@babel/template": "7.0.0-beta.50", | ||
"@babel/types": "7.0.0-beta.50", | ||
"lodash": "^4.17.5" | ||
} | ||
} |
@@ -1,26 +0,19 @@ | ||
# @babel/helper-simple-assignment | ||
# @babel/helper-simple-access | ||
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 | ||
> Babel helper for ensuring that access to a given value is performed through simple accesses | ||
``` | ||
i += 1 | ||
--i; | ||
``` | ||
See our website [@babel/helper-simple-access](https://new.babeljs.io/docs/en/next/babel-helper-simple-access.html) for more information. | ||
It is difficult to work with. | ||
## Install | ||
This helper can handle converting these to simple access patterns of standard | ||
assignment. This plugin does _not_ handle | ||
Using npm: | ||
```sh | ||
npm install --save @babel/helper-simple-access | ||
``` | ||
{ a } = foo; | ||
``` | ||
so assignment to patterns still needs to be handled when you are processing | ||
updates to values. | ||
or using yarn: | ||
## Usage | ||
TODO | ||
```sh | ||
yarn add --save @babel/helper-simple-access | ||
``` |
3965
3
20
+ Added@babel/code-frame@7.0.0-beta.50(transitive)
+ Added@babel/highlight@7.0.0-beta.50(transitive)
+ Added@babel/parser@7.0.0-beta.50(transitive)
+ Added@babel/template@7.0.0-beta.50(transitive)
+ Added@babel/types@7.0.0-beta.50(transitive)
- Removed@babel/code-frame@7.0.0-beta.49(transitive)
- Removed@babel/highlight@7.0.0-beta.49(transitive)
- Removed@babel/parser@7.0.0-beta.49(transitive)
- Removed@babel/template@7.0.0-beta.49(transitive)
- Removed@babel/types@7.0.0-beta.49(transitive)
Updated@babel/types@7.0.0-beta.50