@babel/traverse 7.11.0 → 7.11.5
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/evaluation.js +3 -3
- package/package.json +7 -6
package/lib/path/evaluation.js
CHANGED
@@ -197,7 +197,7 @@ function _evaluate(path, state) {
|
|
197
197
|
if (elemValue.confident) {
|
198
198
|
arr.push(elemValue.value);
|
199
199
|
} else {
|
200
|
-
return deopt(
|
200
|
+
return deopt(elemValue.deopt, state);
|
201
201
|
}
|
202
202
|
}
|
203
203
|
|
@@ -220,7 +220,7 @@ function _evaluate(path, state) {
|
|
220
220
|
key = key.evaluate();
|
221
221
|
|
222
222
|
if (!key.confident) {
|
223
|
-
return deopt(
|
223
|
+
return deopt(key.deopt, state);
|
224
224
|
}
|
225
225
|
|
226
226
|
key = key.value;
|
@@ -234,7 +234,7 @@ function _evaluate(path, state) {
|
|
234
234
|
let value = valuePath.evaluate();
|
235
235
|
|
236
236
|
if (!value.confident) {
|
237
|
-
return deopt(
|
237
|
+
return deopt(value.deopt, state);
|
238
238
|
}
|
239
239
|
|
240
240
|
value = value.value;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babel/traverse",
|
3
|
-
"version": "7.11.
|
3
|
+
"version": "7.11.5",
|
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,16 +16,17 @@
|
|
16
16
|
"main": "lib/index.js",
|
17
17
|
"dependencies": {
|
18
18
|
"@babel/code-frame": "^7.10.4",
|
19
|
-
"@babel/generator": "^7.11.
|
19
|
+
"@babel/generator": "^7.11.5",
|
20
20
|
"@babel/helper-function-name": "^7.10.4",
|
21
21
|
"@babel/helper-split-export-declaration": "^7.11.0",
|
22
|
-
"@babel/parser": "^7.11.
|
23
|
-
"@babel/types": "^7.11.
|
22
|
+
"@babel/parser": "^7.11.5",
|
23
|
+
"@babel/types": "^7.11.5",
|
24
24
|
"debug": "^4.1.0",
|
25
25
|
"globals": "^11.1.0",
|
26
26
|
"lodash": "^4.17.19"
|
27
27
|
},
|
28
28
|
"devDependencies": {
|
29
29
|
"@babel/helper-plugin-test-runner": "^7.10.4"
|
30
|
-
}
|
31
|
-
|
30
|
+
},
|
31
|
+
"gitHead": "af64ccb2b00bc7574943674996c2f0507cdbfb6f"
|
32
|
+
}
|