@babel/traverse 7.7.0 → 7.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @babel/traverse might be problematic. Click here for more details.

package/lib/path/index.js CHANGED
@@ -179,6 +179,12 @@ class NodePath {
179
179
  return !!this.listKey;
180
180
  }
181
181
 
182
+ set inList(inList) {
183
+ if (!inList) {
184
+ this.listKey = null;
185
+ }
186
+ }
187
+
182
188
  get parentKey() {
183
189
  return this.listKey || this.key;
184
190
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babel/traverse",
3
- "version": "7.7.0",
3
+ "version": "7.7.2",
4
4
  "description": "The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes",
5
5
  "author": "Sebastian McKenzie <sebmck@gmail.com>",
6
6
  "homepage": "https://babeljs.io/",
@@ -12,11 +12,11 @@
12
12
  "main": "lib/index.js",
13
13
  "dependencies": {
14
14
  "@babel/code-frame": "^7.5.5",
15
- "@babel/generator": "^7.7.0",
15
+ "@babel/generator": "^7.7.2",
16
16
  "@babel/helper-function-name": "^7.7.0",
17
17
  "@babel/helper-split-export-declaration": "^7.7.0",
18
- "@babel/parser": "^7.7.0",
19
- "@babel/types": "^7.7.0",
18
+ "@babel/parser": "^7.7.2",
19
+ "@babel/types": "^7.7.2",
20
20
  "debug": "^4.1.0",
21
21
  "globals": "^11.1.0",
22
22
  "lodash": "^4.17.13"
@@ -24,5 +24,5 @@
24
24
  "devDependencies": {
25
25
  "@babel/helper-plugin-test-runner": "^7.0.0"
26
26
  },
27
- "gitHead": "97faa83953cb87e332554fa559a4956d202343ea"
27
+ "gitHead": "35f4d1276310bac6fede4a6f86a5c76f951e179e"
28
28
  }