Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support more node types in generateUidBasedOnNode
- Loading branch information
1 parent
f9d4b79
commit 112e49b
Showing
12 changed files
with
161 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ges/babel-plugin-proposal-decorators/test/fixtures/transformation/extends-await/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ges/babel-plugin-proposal-decorators/test/fixtures/transformation/extends-yield/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/babel-plugin-proposal-pipeline-operator/test/fixtures/smart/bare-function/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
var _ref, _ref2; | ||
var _ref, _; | ||
|
||
const abs = Math.abs; | ||
const value = (_ref = (_ref2 = -5.9, abs(_ref2)), Math.floor(_ref)); | ||
const value = (_ref = (_ = -5.9, abs(_)), Math.floor(_ref)); |
4 changes: 2 additions & 2 deletions
4
...ages/babel-plugin-proposal-pipeline-operator/test/fixtures/smart/object-literal/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
var _ref, _ref2, _ref3; | ||
var _ref, _ref2, _; | ||
|
||
function area(rect) { | ||
return rect.width * rect.height; | ||
} | ||
|
||
const result = (_ref = (_ref2 = (_ref3 = -5, Math.abs(_ref3)), { | ||
const result = (_ref = (_ref2 = (_ = -5, Math.abs(_)), { | ||
width: _ref2, | ||
height: _ref2 + 3 | ||
}), area(_ref)); |
6 changes: 3 additions & 3 deletions
6
...ugin-proposal-pipeline-operator/test/fixtures/smart/topic-inside-arrow-function/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
var _ref, _ref2, _ref3, _ref4; | ||
var _ref, _ref2, _ref3, _; | ||
|
||
const result = (_ref = (_ref2 = (_ref3 = (_ref4 = -2.2 // -2.2 | ||
, Math.floor(_ref4) // -3 | ||
const result = (_ref = (_ref2 = (_ref3 = (_ = -2.2 // -2.2 | ||
, Math.floor(_) // -3 | ||
), () => Math.pow(_ref3, 5) // () => -243 | ||
), _ref2() // -243 | ||
), Math.sign(_ref)); // -1 |
4 changes: 2 additions & 2 deletions
4
...ages/babel-plugin-transform-parameters/test/fixtures/parameters/regression-4348/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
function first() { | ||
var _ref; | ||
var _index; | ||
|
||
var index = 0; | ||
return _ref = index++, _ref < 0 || arguments.length <= _ref ? undefined : arguments[_ref]; | ||
return _index = index++, _index < 0 || arguments.length <= _index ? undefined : arguments[_index]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters