@babel/core 7.29.7 → 8.0.7: deprecates 18 API(s)
Compared with 7.29.7: `types.MODULEDECLARATION_TYPES`, `types.NumberLiteral`, `types.RegexLiteral`, `types.RestProperty`, `types.SpreadProperty`, and 13 more.
registry.npmjs.orgquote checked
- 8.0.7from 7.29.7
- Your code18 things to find
Nemotron fixes
In its own wordsread from the page
- types.MODULEDECLARATION_TYPES: migrate to IMPORTOREXPORTDECLARATION_TYPES.
- types.NumberLiteral: Use `NumericLiteral`
- types.RegexLiteral: Use `RegExpLiteral`
- types.RestProperty: Use `RestElement`
- types.SpreadProperty: Use `SpreadElement`
- types.clone: Create a shallow clone of a `node`, including only properties belonging to the node. Use t.cloneNode instead.
- types.cloneDeep: Create a deep clone of a `node` and all of it's child nodes including only properties belonging to the node. Use t.cloneNode instead.
- types.isModuleDeclaration: Use `isImportOrExportDeclaration`
- types.isNumberLiteral: Use `isNumericLiteral`
- types.isRegexLiteral: Use `isRegExpLiteral`
- types.isRestProperty: Use `isRestElement`
- types.isSpreadProperty: Use `isSpreadElement`
What Teire looks for in your code
- types.MODULEDECLARATION_TYPES (ts)
- types.NumberLiteral (ts)
- types.RegexLiteral (ts)
- types.RestProperty (ts)
- types.SpreadProperty (ts)
- types.clone (ts)
- types.cloneDeep (ts)
- types.isModuleDeclaration (ts)
- types.isNumberLiteral (ts)
- types.isRegexLiteral (ts)
- types.isRestProperty (ts)
- types.isSpreadProperty (ts)
- types.numberLiteral (ts)
- types.regexLiteral (ts)
- types.restProperty (ts)
- types.spreadProperty (ts)
- NodePath.parentPath.isExistentialTypeParam (ts)
Does it reach your code?