Skip to content

Commit 6a3d8ea

Browse files
Migration for toComputedKey and buildUndefinedNode (#3192)
1 parent 51868e3 commit 6a3d8ea

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/v8-migration-api.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,6 +1367,10 @@ Other than the changes listed below, `@babel/parser` is affected by all the [AST
13671367
13681368
These methods are meant to be private so there is no real migration approach. If your plugin / build is broken by this change, feel free to open an issue and tell us how you use these methods and we can see what we can do after Babel 8 is released.
13691369
1370+
- Remove `NodePath.prototype.toComputedKey` and `Scope.prototype.buildUndefinedNode` ([#17907](https://github.com/babel/babel/pull/17907), [#17937](https://github.com/babel/babel/pull/17937))
1371+
1372+
__Migration__: Use `t.toComputedKey` and `t.buildUndefinedNode` from `@babel/types` instead.
1373+
13701374
![low](https://img.shields.io/badge/risk%20of%20breakage%3F-low-yellowgreen.svg)
13711375
13721376
- Remove `block` argument from `Scope#rename` ([#15288](https://github.com/babel/babel/pull/15288))

0 commit comments

Comments
 (0)