Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
173 additions
and
123 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
...bel-plugin-proposal-decorators/test/fixtures/2021-12-exported/member-decorator/output.mjs
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
14 changes: 9 additions & 5 deletions
14
...posal-decorators/test/fixtures/2021-12-misc--to-es2015/valid-expression-formats/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,28 +1,32 @@ | ||
let _ref; | ||
var _initProto, _initClass, _classDecs, _methodDecs, _Foo2; | ||
const dec = () => {}; | ||
_classDecs = [dec, call(), chain.expr(), arbitrary + expr, array[expr]]; | ||
let _Foo; | ||
var _a = /*#__PURE__*/new WeakMap(); | ||
_ref = (_methodDecs = [dec, call(), chain.expr(), arbitrary + expr, array[expr]], "_"); | ||
class Foo { | ||
constructor() { | ||
babelHelpers.classPrivateFieldInitSpec(this, _a, void _initProto(this)); | ||
} | ||
method() {} | ||
makeClass() { | ||
var _barDecs, _init_bar, _outerThis, _Nested; | ||
return _outerThis = this, (_Nested = class Nested { | ||
let _ref2; | ||
var _barDecs, _init_bar, _Nested; | ||
return _ref2 = (_barDecs = babelHelpers.classPrivateFieldGet2(_a, this), "_"), (_Nested = class Nested { | ||
constructor() { | ||
babelHelpers.defineProperty(this, "bar", _init_bar(this)); | ||
} | ||
}, (() => { | ||
_barDecs = babelHelpers.classPrivateFieldGet2(_a, _outerThis); | ||
}, babelHelpers.defineProperty(_Nested, _ref2, void 0), (() => { | ||
delete _Nested._; | ||
[_init_bar] = babelHelpers.applyDecs(_Nested, [[_barDecs, 0, "bar"]], []); | ||
})(), _Nested); | ||
} | ||
} | ||
_Foo2 = Foo; | ||
babelHelpers.defineProperty(Foo, _ref, void 0); | ||
(() => { | ||
_methodDecs = [dec, call(), chain.expr(), arbitrary + expr, array[expr]]; | ||
delete _Foo2._; | ||
[_initProto, _Foo, _initClass] = babelHelpers.applyDecs(_Foo2, [[_methodDecs, 2, "method"]], _classDecs); | ||
})(); | ||
_initClass(); |
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
3 changes: 2 additions & 1 deletion
3
...bel-plugin-proposal-decorators/test/fixtures/2022-03-exported/member-decorator/output.mjs
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
14 changes: 9 additions & 5 deletions
14
...posal-decorators/test/fixtures/2022-03-misc--to-es2015/valid-expression-formats/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
3 changes: 2 additions & 1 deletion
3
...bel-plugin-proposal-decorators/test/fixtures/2023-01-exported/member-decorator/output.mjs
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
Oops, something went wrong.