Uh oh!
There was an error while loading. Please reload this page.
dns: remove exports.ADNAME - #3076
Conversation
f76a9a4 to
ec44ea4Comparesilverwind
commented
Sep 26, 2015
Fixed the commit title. |
ChALkeR
commented
Sep 26, 2015
From #3051 (comment), everything that actually uses or defines the misspelled variant biojs-vis-blast-0.1.5.tgz/node/lib/dns.js:323:exports.ADNAME='EADNAME';cares-1.0.1.tgz/lib/cares.js:381:exports.ADNAME='EADNAME';commonjs-everywhere-0.9.7.tgz/node/lib/dns.js:203:exports.ADNAME='EADNAME';flush-all-0.1.1.tgz/node-v0.13/lib/dns.js:323:exports.ADNAME='EADNAME';jsg-0.0.3.tgz/testdata/node_core_modules/dns.js:258:exports.ADNAME='EADNAME';nice-http-0.1.0-alfa.tgz/src/dns.js:256:exports.ADNAME='EADNAME';node-core-lib-0.11.11.tgz/dns.js:258:exports.ADNAME='EADNAME';node-natives-0.10.25.tgz/dns.js:203:exports.ADNAME='EADNAME';pezhu-0.0.0.tgz/Downloads/node-v0.9.11/lib/dns.js:202:exports.ADNAME='EADNAME';pn-0.0.1.tgz/dns.js:7: ADNAME: {enumerable: true,value: dns.ADNAME},portable-js-0.0.3.tgz/misc/io/dns.js:338:exports.ADNAME='EADNAME';portable-js-0.0.3.tgz/misc/node/dns.js:325:exports.ADNAME='EADNAME';Only the pn module actually uses it (I just filed an issue there), all the others copy-paste LGTM for a major. There should be more explanation in the commit message details, though. |
Adds the documented but missing DNS error exports.BADNAME. This export has been there before but got lost in a 2012 commit that added more error codes. #3076 will remove the wrong error code exports.ADNAME. PR-URL: #3051Fixes: #3050 Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com>
ec44ea4 to
24fe112CompareThis error code export was mistakingly introduced in a 2012 commit which added more error codes. The correct export.BADNAME was added in nodejs#3051. Semver: Major PR-URL: nodejs#3051Fixes: nodejs#3050
silverwind
commented
Sep 27, 2015
Updated commit details and rebased. |
thefourtheye
commented
Sep 27, 2015
LGTM |
silverwind
commented
Sep 27, 2015
Thanks, landed in 680dda8. |
rvagg
commented
Sep 29, 2015
sorry to have missed this, I would have voted for adding a deprecation warning on a getter for this instead of jumping straight to removal |
rvagg
commented
Sep 29, 2015
actually, I'm pretty sure this was done over a weekend and merged way too fast, particularly for a semver-major, can we be a bit more patient on these kinds of things, pretty please? |
ChALkeR
commented
Sep 29, 2015
@rvagg It's a semver-major just to be on the safe side. It was never useful or documented -- it's a simple mistype. See #3051 (it also had the start of this discussion). I can hardly imagine how removing it could break (or even change) anything in real code. If you still feel that there has to be a warning, it's not too late to introduce it. What do you think? Just explaining things here, I got the point about semver-major PRs. |
rvagg
commented
Sep 29, 2015
OK .. so I'm a little slow on this one, just to confirm, this is simply an exported string and was not used or referenced by anything else right? |
silverwind
commented
Sep 29, 2015
@rvagg exactly. These error exports look to be there for comparision purpose so one can do |
rvagg
commented
Sep 29, 2015
ok, thanks, I retract my comments then! |
Adds the documented but missing DNS error exports.BADNAME. This export has been there before but got lost in a 2012 commit that added more error codes. #3076 will remove the wrong error code exports.ADNAME. PR-URL: #3051Fixes: #3050 Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com>
This error code export was mistakingly introduced in a 2012 commit which added more error codes. The correct export.BADNAME was added in #3051. Semver: Major PR-URL: #3051Fixes: #3050 Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
This is the
semver-majorpart of #3051 which removes the nonexistant errorcodeEADNAME.