Skip to content

Bump prettier from 3.0.0 to 3.0.1

HIFIS Bot requested to merge dependabot/npm_and_yarn/prettier-3.0.1 into master

Bumps prettier from 3.0.0 to 3.0.1.

Release notes

Sourced from prettier's releases.

3.0.1

🔗 Changelog

Changelog

Sourced from prettier's changelog.

3.0.1

diff

Fix cursor positioning for a special case (#14812 by @​fisker)

// <|> is the cursor position
/* Input */
// All messages are represented in JSON.
// So, the prettier.py controls a subprocess which spawns "node {this_file}".
import {<|>  } from "fs"
/* Prettier 3.0.0 */
// All messages are represented in JSON.
// So, the prettier.py <|>controls a subprocess which spawns "node {this_file}".
import {} from "fs"
/* Prettier 3.0.1 */
// All messages are represented in JSON.
// So, the prettier.py controls a subprocess which spawns "node {this_file}".
import {<|>} from "fs"

Fix plugins/estree.d.ts to make it a module (#15018 by @​kingyue737)

Add export {} in plugins/estree.d.ts to fix the "File is not a module" error

Add parenthesis around leading multiline comment in return statement (#15037 by @​auvred)

// Input
function fn() {
  return (
    /**
     * @type {...}
     */ expresssion
  )
}
// Prettier 3.0.0
function fn() {
return /**

@​type {...}
*/ expresssion;
}

</tr></table>

... (truncated)

Commits
  • afee0db Release 3.0.1
  • c3d53dc Fix runYarn function in release script (#15200)
  • 825425c chore(deps): update dependency eslint-plugin-import to v2.28.0 (#15184)
  • 448217d chore(deps): update dependency eslint to v8.46.0 (#15182)
  • f35e9e6 chore(deps): update dependency @​angular/compiler to v16.1.7 (#15173)
  • d14e893 chore(deps): update dependency c8 to v8.0.1 (#15174)
  • c44d4b7 chore(deps): update dependency eslint-plugin-react to v7.33.1 (#15176)
  • 57e8c87 chore(deps): update dependency esbuild to v0.18.17 (#15175)
  • 36c3738 chore(deps): update dependency eslint-plugin-unicorn to v48.0.1 (#15177)
  • 2d274df chore(deps): update dependency flow-parser to v0.213.1 (#15178)
  • Additional commits viewable in compare view

Merge request reports