dillon1000/react

Commit

[compiler][ez] Upgrade babel generator version for playground

---
The current version of `@babel/generator` used by playground has some bugs (see https://github.com/babel/babel/issues/10966)
```js
// Try pasting this into playground
function useFoo(a, b) {
  return (a ?? b) == c;
}

// Current playground output
function useFoo(a, b) {
  return a ?? b == c;
}
```

We previously locked babel library versions to be compatible with the oldest Meta internal usages. Now that both compiler and eslint plugins are bundled with rollup, this shouldn't be necessary.

ghstack-source-id: fa20d676b526d279817d1488f117262aa0869622
Pull Request resolved: https://github.com/facebook/react/pull/30341
Browse files
Changed paths3 files
First-parent comparison
M compiler/apps/playground/package.json ModifiedM compiler/packages/snap/package.json ModifiedM compiler/yarn.lock Modified
Patch

Files changed

Rendering syntax-highlighted changes…