@babel/traverse 7.12.9 → 7.12.10

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.

@@ -186,7 +186,7 @@ function unshiftContainer(listKey, nodes) {
186
186
  container: this.node[listKey],
187
187
  listKey,
188
188
  key: 0
189
- });
189
+ }).setContext(this.context);
190
190
 
191
191
  return path._containerInsertBefore(nodes);
192
192
  }
@@ -203,7 +203,7 @@ function pushContainer(listKey, nodes) {
203
203
  container: container,
204
204
  listKey,
205
205
  key: container.length
206
- });
206
+ }).setContext(this.context);
207
207
 
208
208
  return path.replaceWithMultiple(nodes);
209
209
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babel/traverse",
3
- "version": "7.12.9",
3
+ "version": "7.12.10",
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/",
@@ -16,11 +16,11 @@
16
16
  "main": "lib/index.js",
17
17
  "dependencies": {
18
18
  "@babel/code-frame": "^7.10.4",
19
- "@babel/generator": "^7.12.5",
19
+ "@babel/generator": "^7.12.10",
20
20
  "@babel/helper-function-name": "^7.10.4",
21
21
  "@babel/helper-split-export-declaration": "^7.11.0",
22
- "@babel/parser": "^7.12.7",
23
- "@babel/types": "^7.12.7",
22
+ "@babel/parser": "^7.12.10",
23
+ "@babel/types": "^7.12.10",
24
24
  "debug": "^4.1.0",
25
25
  "globals": "^11.1.0",
26
26
  "lodash": "^4.17.19"