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 fs-extra in packages/create-react-kotlin-app from 1.0.0 to 4.0.0 #10

Merged

Conversation

dependencies[bot]
Copy link

@dependencies dependencies bot commented Dec 1, 2017

Dependencies.io has updated fs-extra (a npm dependency in packages/create-react-kotlin-app) from "1.0.0" to "4.0.0".

4.0.0

Changed

  • BREAKING: The promisified versions of fs.read() & fs.write() now return objects. See the docs for details. #436, #449
  • fs.move() now errors out when destination is a subdirectory of source. #458
  • Applied upstream fixes from rimraf to fs.remove() & fs.removeSync(). #459

Fixed

  • Got fs.outputJSONSync() working again; it was broken due to refactoring. #428

Also clarified the docs in a few places.

3.0.0

Added

  • BREAKING: Added Promise support. All asynchronous native fs methods and fs-extra methods now return a promise if the callback is not passed. #403
  • pathExists(), a replacement for the deprecated fs.exists. pathExists has a normal error-first callback signature. Also added pathExistsSync, an alias to fs.existsSync, for completeness. #406

Removed

  • BREAKING: Removed support for setting the default spaces for writeJson(), writeJsonSync(), outputJson(), & outputJsonSync(). This was undocumented. #402

Changed

  • Upgraded jsonfile dependency to v3.0.0:
    • BREAKING: Changed behavior of throws option for readJsonSync(); now does not throw filesystem errors when throws is false.
  • BREAKING: writeJson(), writeJsonSync(), outputJson(), & outputJsonSync() now output minified JSON by default for consistency with JSON.stringify(); set the spaces option to 2 to override this new behavior. #402
  • Use Buffer.allocUnsafe() instead of new Buffer() in environments that support it. #394

Fixed

  • removeSync() silently failed on Windows in some cases. Now throws an EBUSY error. #408
2.0.0

Removed

Changed

Fixed

@Hypnosphi Hypnosphi merged commit c54bc6b into master Dec 2, 2017
@Hypnosphi Hypnosphi deleted the fs-extra-4.0.0-8.0.1-packages--create-react-kotlin-app branch December 2, 2017 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants