| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Wouldn't this break graceful-fs again?
Sorry, something went wrong.
There was a problem hiding this comment.
It would. It's probably better to add a test for this to prevent accidental breakage
Sorry, something went wrong.
There was a problem hiding this comment.
Since this is going into an internal module, it doesn't need the underscore name.
Also, can we name the function (exports.errnoException = function errnoException(..) {) so we don't have to deal with exports.errnoException() below?
Sorry, something went wrong.
|
I'm going to relabel this as semver-minor as backwards compatibility is kept. |
Sorry, something went wrong.
1. Moving `_errnoException` and `_exceptionWithHostPort` to `internal/util` module as they are internal helper functions. They should not be exposed as part of the `util` module. 2. Issuing a deprecation warning when those functions are used.
There was a problem hiding this comment.
Isn't this useful for making errors from libuv bindings in userland?
Sorry, something went wrong.
|
There are other modules this might break. But it's probably their fault. k/karma-assert-1.0.0.tgz/assert.js:815:util._errnoException = function(err, syscall, original) {
|
Sorry, something went wrong.
|
Closing this as it breaks graceful-fs and userland functions might make errors from libuv bindings with _errnoException helper. |
Sorry, something went wrong.
|
@thefourtheye Perhaps it's time to reopen and revisit, as #6413 is going to be landed soon? We would probably need a deprecation message on util._errnoException, though. |
Sorry, something went wrong.
|
@thefourtheye, #6413 landed, nothing is blocking this anymore. Do you wish to redo/reopen this PR? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
internal/util module as they are internal helper functions. They
should not be exposed as part of the util module.