Skip to content

Upgrading fs-extra 0.0 to 0.1

Breaking0.0.11 → 0.1.3Breaking2New3Changed2Fixed2

BreakingUpgrade verdict

2 breaking changes.

  • The function for copying files has a new name, and it can now copy whole folders too.
  • The function for deleting files and folders has a new name.
2 items need code or config changes

No longer states a Node.js requirement from 0.1.2 (was *).

Adds mkdirp 0.3.x, ncp 0.2.x, rimraf 1.0.x.

Drops coffee-script, jasmine-node, path-extra.

Installs 3 packages in all (was 27).

No longer installs balanced-match, brace-expansion, coffeescript, concat-map, escape-string-regexp, fs.realpath, gaze, glob, globule, growl, inflight, inherits, jasmine-growl-reporter, jasmine-reporters, lodash and 8 more.

Breaking2
Renames copyFile() to copy(), which now also copies directories recursively.
copyFile()copy()
Renames rmrf() to remove().
rmrf()remove()