hughsk/flat (flat)
### [`v6.0.1`](https://togithub.com/hughsk/flat/releases/tag/v6.0.1)
[Compare Source](https://togithub.com/hughsk/flat/compare/v6.0.0...v6.0.1)
#### Bug Fixes 🐛
- Fix misformatted `export` field in `package.json` (see [#172](https://togithub.com/hughsk/flat/issues/172)).
### [`v6.0.0`](https://togithub.com/hughsk/flat/releases/tag/v6.0.0)
[Compare Source](https://togithub.com/hughsk/flat/compare/5.0.2...v6.0.0)
##### New Features ✨
- Package is now distributed in the ECMAScript module syntax (see [#149](https://togithub.com/hughsk/flat/issues/149)).
- Definitions for TypeScript are now included out of the box (see [#151](https://togithub.com/hughsk/flat/issues/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](https://togithub.com/nodejs/Release/#end-of-life-releases)).
##### 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](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
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:
```diff
-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.
```sh
npm uninstall @types/flat
```
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^5.0.2
->^6.0.1
Release Notes
hughsk/flat (flat)
### [`v6.0.1`](https://togithub.com/hughsk/flat/releases/tag/v6.0.1) [Compare Source](https://togithub.com/hughsk/flat/compare/v6.0.0...v6.0.1) #### Bug Fixes 🐛 - Fix misformatted `export` field in `package.json` (see [#172](https://togithub.com/hughsk/flat/issues/172)). ### [`v6.0.0`](https://togithub.com/hughsk/flat/releases/tag/v6.0.0) [Compare Source](https://togithub.com/hughsk/flat/compare/5.0.2...v6.0.0) ##### New Features ✨ - Package is now distributed in the ECMAScript module syntax (see [#149](https://togithub.com/hughsk/flat/issues/149)). - Definitions for TypeScript are now included out of the box (see [#151](https://togithub.com/hughsk/flat/issues/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](https://togithub.com/nodejs/Release/#end-of-life-releases)). ##### 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](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). 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: ```diff -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. ```sh npm uninstall @types/flat ```Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.