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 :truck:
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.
This version was pushed to npm by jkoops, a new releaser for flat since your current version.
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 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 from 5.0.2 to 6.0.1.
Release notes
Sourced from flat's releases.
Commits
05ac9ca
6.0.13431170
Fix brokenexports
field inpackage.json
(#172)85ab68a
Update dependencies to latest version (#170)5d0a38c
Replacemocha
with Node.js test runner (#169)906cba6
Apply NPM suggestions forbin
(#168)b83311d
Raise minimum Node.js version to 18 (#167)ed9008e
Add improvedexports
field to package (#166)a47295f
Bump word-wrap from 1.2.3 to 1.2.4 (#165)f69225d
Bump standard from 17.0.0 to 17.1.0 (#163)7a184e7
Bump json5 from 1.0.1 to 1.0.2 (#159)Maintainer changes
This version was pushed to npm by jkoops, a new releaser for flat since your current version.
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