Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/clone-submodules/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ runs:
persist-credentials: false
repository: babel/babel
path: tasks/coverage/babel
ref: 1d4546bcb80009303aab386b59f4df1fd335c1d5
ref: 98d18aa4f66ce300a6a863bad223ab67b3fdf282

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
if: ${{ inputs.typescript == 'true' }}
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_transformer/src/options/babel/plugins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ impl TryFrom<PluginPresetEntries> for BabelPlugins {
p.legacy_decorator =
entry.value::<DecoratorOptions>().map_err(|err| p.errors.push(err)).ok();
}
"proposal-explicit-resource-management" => p.explicit_resource_management = true,
"transform-explicit-resource-management" => p.explicit_resource_management = true,
"styled-components" => {
p.styled_components = entry
.value::<StyledComponentsOptions>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
//!
//! ## Implementation
//!
//! Implementation based on [@babel/plugin-proposal-explicit-resource-management](https://babeljs.io/docs/babel-plugin-proposal-explicit-resource-management).
//! Implementation based on [@babel/plugin-transform-explicit-resource-management](https://babeljs.io/docs/babel-plugin-transform-explicit-resource-management).
//!
//! ## References:
//! * Babel plugin implementation: <https://github.com/babel/babel/blob/v7.26.9/packages/babel-plugin-proposal-explicit-resource-management>
//! * Babel plugin implementation: <https://github.com/babel/babel/blob/v7.26.9/packages/babel-plugin-transform-explicit-resource-management>
//! * Explicit Resource Management TC39 proposal: <https://github.com/tc39/proposal-explicit-resource-management>

use std::mem;
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ready:
# Make sure to update `.github/actions/clone-submodules/action.yml` too
submodules:
just clone-submodule tasks/coverage/test262 https://github.com/tc39/test262.git 4b5d36ab6ef2f59d0a8902cd383762547a3a74c4
just clone-submodule tasks/coverage/babel https://github.com/babel/babel.git 1d4546bcb80009303aab386b59f4df1fd335c1d5
just clone-submodule tasks/coverage/babel https://github.com/babel/babel.git 98d18aa4f66ce300a6a863bad223ab67b3fdf282
just clone-submodule tasks/coverage/typescript https://github.com/microsoft/TypeScript.git 81c951894e93bdc37c6916f18adcd80de76679bc
just clone-submodule tasks/prettier_conformance/prettier https://github.com/prettier/prettier.git 7584432401a47a26943dd7a9ca9a8e032ead7285
just clone-submodule tasks/coverage/acorn-test262 https://github.com/oxc-project/acorn-test262 d9ba02ddea22800a285c7ad24e3fbfbb00ccbb02
Expand Down
35 changes: 17 additions & 18 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions tasks/coverage/snapshots/codegen_babel.snap
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
commit: 1d4546bc
commit: 98d18aa4

codegen_babel Summary:
AST Parsed : 2362/2362 (100.00%)
Positive Passed: 2360/2362 (99.92%)
AST Parsed : 2419/2419 (100.00%)
Positive Passed: 2417/2419 (99.92%)
Normal: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/uncategorised/47/input.js

Normal: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/uncategorised/48/input.js
Expand Down
6 changes: 3 additions & 3 deletions tasks/coverage/snapshots/minifier_babel.snap
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
commit: 1d4546bc
commit: 98d18aa4

minifier_babel Summary:
AST Parsed : 1762/1762 (100.00%)
Positive Passed: 1760/1762 (99.89%)
AST Parsed : 1816/1816 (100.00%)
Positive Passed: 1814/1816 (99.89%)
Compress: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/uncategorised/47/input.js

Compress: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/uncategorised/48/input.js
Expand Down
Loading
Loading