Skip to content

cloudcmd v14.8.0

Compare
Choose a tag to compare
@coderaiser coderaiser released this 14 Aug 14:16
· 700 commits to master since this release

API Changes in UserMenu

Changed two API calls of IO that was mentioned in a User Menu Cookbook:

  • IO.mv;
  • IO.cp;

Anyways you should change nothing in your .cloudcmd.menu.js files, because of @putout/plugin-cloudcmd. It will change:

await IO.mv({
    from: dirPath,
    to: mp3Dir,
    names: mp3Names,
});

Into

await IO.move(dirPath, mp3Dir, mp3Names);

For you, before running the code using putout code transfomer :).

feature

  • (cloudcmd) IO.cp -> IO.copy
  • (cloudcmd) IO.mv -> IO.move
  • (package) find-up v5.0.0