diff --git a/packages/babel-cli/test/fixtures/babel/dir --out-dir --watch multiple dir/stderr.txt b/packages/babel-cli/test/fixtures/babel/dir --out-dir --watch multiple dir/stderr.txt new file mode 100644 index 000000000000..9a4366aac127 --- /dev/null +++ b/packages/babel-cli/test/fixtures/babel/dir --out-dir --watch multiple dir/stderr.txt @@ -0,0 +1 @@ +EXECUTOR TIMEOUT diff --git a/packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-classes--to-es2015/replacement-static-installed-on-correct-class/output.js b/packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-classes--to-es2015/replacement-static-installed-on-correct-class/output.js index 205896728741..c79b2b7601bc 100644 --- a/packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-classes--to-es2015/replacement-static-installed-on-correct-class/output.js +++ b/packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-classes--to-es2015/replacement-static-installed-on-correct-class/output.js @@ -8,8 +8,8 @@ new (_x = /*#__PURE__*/new WeakMap(), _m = /*#__PURE__*/new WeakSet(), (_temp = writable: true, value: void 0 }), babelHelpers.defineProperty(this, "x", void 0)), (() => { - hasX = o => _x.has(o); - hasM = o => _m.has(o); + hasX = o => _x.has(babelHelpers.checkInRHS(o)); + hasM = o => _m.has(babelHelpers.checkInRHS(o)); })(), _initClass(); } }, (() => { diff --git a/packages/babel-plugin-proposal-decorators/test/fixtures/2022-03-classes--to-es2015/replacement-static-installed-on-correct-class/output.js b/packages/babel-plugin-proposal-decorators/test/fixtures/2022-03-classes--to-es2015/replacement-static-installed-on-correct-class/output.js index 25f93b046cdf..002c642fdb27 100644 --- a/packages/babel-plugin-proposal-decorators/test/fixtures/2022-03-classes--to-es2015/replacement-static-installed-on-correct-class/output.js +++ b/packages/babel-plugin-proposal-decorators/test/fixtures/2022-03-classes--to-es2015/replacement-static-installed-on-correct-class/output.js @@ -8,8 +8,8 @@ new (_x = /*#__PURE__*/new WeakMap(), _m = /*#__PURE__*/new WeakSet(), (_temp = writable: true, value: void 0 }), babelHelpers.defineProperty(this, "x", void 0)), (() => { - hasX = o => _x.has(o); - hasM = o => _m.has(o); + hasX = o => _x.has(babelHelpers.checkInRHS(o)); + hasM = o => _m.has(babelHelpers.checkInRHS(o)); })(), _initClass(); } }, (() => { diff --git a/packages/babel-preset-env/test/fixtures/preset-options-babel-7/deno-1_0/output.js b/packages/babel-preset-env/test/fixtures/preset-options-babel-7/deno-1_0/output.js index 7145fbed83c1..57c67758beb9 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-babel-7/deno-1_0/output.js +++ b/packages/babel-preset-env/test/fixtures/preset-options-babel-7/deno-1_0/output.js @@ -6,5 +6,5 @@ var _selfBrandCheck = /*#__PURE__*/new WeakSet(); // The class declaration and the static private property should not be transpiled class C { static #self = (_selfBrandCheck.add(this), C); - static #_ = C.#self ?? (C.#self = _selfBrandCheck.has(C === null || C === void 0 ? void 0 : C.#self)); + static #_ = C.#self ?? (C.#self = _selfBrandCheck.has(babelHelpers.checkInRHS(C === null || C === void 0 ? void 0 : C.#self))); } diff --git a/packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-90/output.js b/packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-90/output.js index 29c094f4d751..1e330ea914f7 100644 --- a/packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-90/output.js +++ b/packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-90/output.js @@ -1,5 +1,5 @@ var _fooBrandCheck = /*#__PURE__*/new WeakSet(); class A { #foo = void _fooBrandCheck.add(this); - static #_ = register(A, _fooBrandCheck.has(A)); + static #_ = register(A, _fooBrandCheck.has(babelHelpers.checkInRHS(A))); } diff --git a/packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-firefox-70/output.js b/packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-firefox-70/output.js index 94782590fd19..46c391672cdc 100644 --- a/packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-firefox-70/output.js +++ b/packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-firefox-70/output.js @@ -7,4 +7,4 @@ class A { }); } } -register(A, _foo.has(A)); +register(A, _foo.has(babelHelpers.checkInRHS(A)));