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

Update cpy to v9 #34

Merged
merged 3 commits into from Mar 1, 2022
Merged

Conversation

andy2mrqz
Copy link
Contributor

@andy2mrqz andy2mrqz commented Mar 1, 2022

As pointed out in #32, glob-parent reports a high vulnerability through npm audit. Since this has been addressed in cpy v9.0.0, this PR updates to v9.

Brief description of changes:

  • Update cpy to v9.0.0
  • Update cli.js to use new --flat flag
  • Add documentation examples; remove references to deprecated flags
  • Add tests (two copied from cpy) and update to conform to v9

Please let me know if you'd prefer any changes to tests, documentation, or have any questions.

Fixes #32
Fixes #27

@sindresorhus sindresorhus changed the title Update: Use cpy v9.0.0 Update cpy to v9 Mar 1, 2022
@sindresorhus sindresorhus merged commit 693722f into sindresorhus:main Mar 1, 2022
@andy2mrqz andy2mrqz deleted the update-dependency-bump branch March 1, 2022 16:28
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

Successfully merging this pull request may close these issues.

Update dependency cpy to fix security advisory Initial folder structure not restored in destination folder
2 participants