prettier 2.7.1 → 3.9.10: deprecates 7 API(s)
Compared with 2.7.1: `FastPath`, `AstPath.getName`, `AstPath.getValue`, `FastPath.getName`, `FastPath.getValue`, and 2 more. 4 newly deprecated.
registry.npmjs.orgquote checked
- 3.9.10from 2.7.1
- Your code7 things to find
Nemotron fixes
In its own wordsread from the page
- FastPath: `FastPath` was renamed to `AstPath`
- AstPath.getName: Please use `AstPath#key` or `AstPath#index`
- AstPath.getValue: Please use `AstPath#node` or `AstPath#siblings`
- FastPath.getName: Please use `AstPath#key` or `AstPath#index`
- FastPath.getValue: Please use `AstPath#node` or `AstPath#siblings`
- Config.jsxBracketSameLine: Put the `>` of a multi-line JSX element at the end of the last line instead of being alone on the next line. use bracketSameLine instead
- RequiredOptions.jsxBracketSameLine: Put the `>` of a multi-line JSX element at the end of the last line instead of being alone on the next line. use bracketSameLine instead
What Teire looks for in your code
- FastPath (ts)
- AstPath.getName (ts)
- AstPath.getValue (ts)
- FastPath.getName (ts)
- FastPath.getValue (ts)
- Config.jsxBracketSameLine (ts)
- RequiredOptions.jsxBracketSameLine (ts)
Does it reach your code?