Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Notes for version 7 are incorrect #145

Closed
stefanobartoletti opened this issue Jul 20, 2022 · 1 comment
Closed

Release Notes for version 7 are incorrect #145

stefanobartoletti opened this issue Jul 20, 2022 · 1 comment

Comments

@stefanobartoletti
Copy link

stefanobartoletti commented Jul 20, 2022

Hi, thank you for the new updated release!
I've just updated this package in one of my projects, in the release notes it is stated that the exports are

require('del') → import {delAsync} from 'del'
require('del').sync → import {delSync} from 'del'

but I get an error if I use these names.

Looking in the source, I've seen that the actual exports are named deleteAsync and deleteSync, so in my project I had to use, i.e., import {deleteAsync} from 'del' instead of import {delAsync} from 'del'.

If you could correct the release notes it would help other users when updating to the new version. Thanks!

@sindresorhus
Copy link
Owner

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants