@dcloudio/uni-template-compiler 2.0.1-34720220422001 → 2.0.1-34720220422002
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.
|
@@ -216,7 +216,11 @@ module.exports = {
|
|
|
216
216
|
// event
|
|
217
217
|
return path.skip()
|
|
218
218
|
}
|
|
219
|
-
|
|
219
|
+
let newPath = path
|
|
220
|
+
while (newPath) {
|
|
221
|
+
path = newPath
|
|
222
|
+
newPath = path.findParent((path) => path.isLogicalExpression())
|
|
223
|
+
}
|
|
220
224
|
path.skip()
|
|
221
225
|
if (path.findParent((path) => path.shouldSkip)) {
|
|
222
226
|
return
|
|
@@ -251,7 +255,11 @@ module.exports = {
|
|
|
251
255
|
t.isMemberExpression(callee) // message.split('').reverse().join('')
|
|
252
256
|
) {
|
|
253
257
|
// Object.assign...
|
|
254
|
-
|
|
258
|
+
let newPath = path
|
|
259
|
+
while (newPath) {
|
|
260
|
+
path = newPath
|
|
261
|
+
newPath = path.findParent((path) => path.isLogicalExpression())
|
|
262
|
+
}
|
|
255
263
|
path.skip()
|
|
256
264
|
if (path.findParent((path) => path.shouldSkip)) {
|
|
257
265
|
return
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-template-compiler",
|
|
3
|
-
"version": "2.0.1-
|
|
3
|
+
"version": "2.0.1-34720220422002",
|
|
4
4
|
"description": "uni-template-compiler",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"@babel/types": "^7.3.3",
|
|
23
23
|
"vue-template-compiler": "^2.6.10"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "6577bf36e4d78c84bb8ceedc63bfbd463cb36b4d"
|
|
26
26
|
}
|