Debian Codegraph @

packages/babel-compat-data/scripts/data/plugin-bugfixes.js

raw
1 /* eslint sort-keys: "error" */
2
3 module.exports = {
4 "bugfix/transform-async-arrows-in-class": {
5 features: ["async functions / async arrow functions in methods, classes"],
6 replaces: "transform-async-to-generator",
7 },
8 "bugfix/transform-edge-default-parameters": {
9 features: [
10 "destructuring, parameters / shorthand defaults, arrow function",
11 ],
12 replaces: "transform-parameters",
13 },
14 "bugfix/transform-edge-function-name": {
15 features: ['function "name" property / variables (function)'],
16 replaces: "transform-function-name",
17 },
18 "bugfix/transform-safari-block-shadowing": {
19 features: [
20 "const / scope shadow resolution",
21 "const / scope shadow resolution (strict mode)",
22 "let / scope shadow resolution",
23 "let / scope shadow resolution (strict mode)",
24 ],
25 replaces: "transform-block-scoping",
26 },
27 "bugfix/transform-safari-for-shadowing": {
28 features: [
29 "let / for-in loop binding shadowing parameter",
30 "let / for-in loop binding shadowing parameter (strict mode)",
31 ],
32 replaces: "transform-block-scoping",
33 },
34 "bugfix/transform-safari-id-destructuring-collision-in-function-expression": {
35 features: ["destructuring, parameters / duplicate identifier"],
36 replaces: "transform-parameters",
37 },
38 "bugfix/transform-tagged-template-caching": {
39 features: ["template literals / TemplateStrings permanent caching"],
40 replaces: "transform-template-literals",
41 },
42 "bugfix/transform-v8-spread-parameters-in-optional-chaining": {
43 features: [
44 "optional chaining operator (?.) / spread parameters after optional chaining",
45 ],
46 replaces: "transform-optional-chaining",
47 },
48 };