Skip to content

Update cpy to v9#34

Merged
sindresorhus merged 3 commits intosindresorhus:mainfrom
andy2mrqz:update-dependency-bump
Mar 1, 2022
Merged

Update cpy to v9#34
sindresorhus merged 3 commits intosindresorhus:mainfrom
andy2mrqz:update-dependency-bump

Conversation

@andy2mrqz
Copy link
Copy Markdown
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