Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 2, 2025

Bumps flat from 5.0.2 to 6.0.1.

Release notes

Sourced from flat's releases.

v6.0.1

Bug Fixes πŸ›

  • Fix misformatted export field in package.json (see #172).

v6.0.0

New Features ✨

  • Package is now distributed in the ECMAScript module syntax (see #149).
  • Definitions for TypeScript are now included out of the box (see #151).

Breaking Changes πŸ’₯

  • Support for all module formats besides ECMAScript modules has been dropped.
  • Default export has been dropped in favor of a named one.
  • Officially supported Node.js version is now 18 and up (all others are end-of-life).

Migration 🚚

We are now shipping flat as a pure ECMAScript module, if you are still using CommonJS in your application follow this migration guide.

The default export has been dropped in favor of a named one, if you are using the default export make sure to update your imports:

-import flatten from 'flat'
+import { flatten } from 'flat'

If you are a user of TypeScript you can remove @types/flat from your project. The type definitions are now included in the package itself, so it is no longer required to keep a separate dependency around.

npm uninstall @types/flat
Commits
Maintainer changes

This version was pushed to npm by jkoops, a new releaser for flat since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [flat](https://github.com/hughsk/flat) from 5.0.2 to 6.0.1.
- [Release notes](https://github.com/hughsk/flat/releases)
- [Commits](hughsk/flat@5.0.2...v6.0.1)

---
updated-dependencies:
- dependency-name: flat
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from stbrody June 2, 2025 12:03
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 2, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 2, 2025

The reviewers field in the dependabot.yml file will be removed soon. Please use the code owners file to specify reviewers for Dependabot PRs. For more information, see this blog post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant