Skip to content

Commit

Permalink
feat(tasks/transformer): add function name plugin (#1676)
Browse files Browse the repository at this point in the history
The plugin is added at #1510.
  • Loading branch information
Dunqing authored Dec 15, 2023
1 parent cf0793b commit 32db5d2
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
31 changes: 30 additions & 1 deletion tasks/transform_conformance/babel.snap.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Passed: 288/1137
Passed: 294/1170

# All Passed:
* babel-plugin-transform-numeric-separator
Expand Down Expand Up @@ -765,6 +765,35 @@ Passed: 288/1137
* spec/newableArrowFunction-default/input.js
* spec/newableArrowFunction-vs-spec-false/input.js

# babel-plugin-transform-function-name (6/33)
* function-name/assignment/input.js
* function-name/class-method/input.js
* function-name/collisions/input.js
* function-name/export/input.mjs
* function-name/export-default-arrow-renaming/input.mjs
* function-name/export-default-arrow-renaming-2/input.mjs
* function-name/export-default-arrow-renaming-3/input.mjs
* function-name/export-default-arrow-renaming-es3/input.mjs
* function-name/export-default-arrow-renaming-module-amd/input.mjs
* function-name/export-default-arrow-renaming-module-es6/input.mjs
* function-name/export-default-arrow-renaming-module-system/input.mjs
* function-name/export-default-arrow-renaming-module-umd/input.mjs
* function-name/function-assignment/input.js
* function-name/function-collision/input.js
* function-name/global/input.js
* function-name/modules/input.mjs
* function-name/modules-2/input.mjs
* function-name/modules-3/input.mjs
* function-name/modules-4/input.mjs
* function-name/object/input.js
* function-name/own-bindings/input.js
* function-name/self-reference/input.js
* function-name/shorthand-property/input.js
* function-name/unicode-id-supported/input.js
* function-name/with-arrow-functions-transform/input.js
* function-name/with-arrow-functions-transform-spec/input.js
* issues/7199/input.js

# babel-plugin-transform-unicode-regex (1/4)
* unicode-regex/basic/input.js
* unicode-regex/negated-set/input.js
Expand Down
1 change: 1 addition & 0 deletions tasks/transform_conformance/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ const CASES: &[&str] = &[
"babel-plugin-transform-exponentiation-operator",
// ES2015
"babel-plugin-transform-arrow-functions",
"babel-plugin-transform-function-name",
"babel-plugin-transform-shorthand-properties",
"babel-plugin-transform-sticky-regex",
"babel-plugin-transform-unicode-regex",
Expand Down

0 comments on commit 32db5d2

Please sign in to comment.