We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb10362 + 8102448 commit 082b298Copy full SHA for 082b298
1 file changed
index.js
@@ -46,7 +46,7 @@ function processExports(exports, test, cached, parentKeyName) {
46
// is asynchronous.
47
if (test) {
48
// Pass the function itself, its keyName, and the parent keyName.
49
- if (!test(exports, exports.name || parentKeyName)) {
+ if (!test(exports, exports.name || parentKeyName, parentKeyName)) {
50
return exports;
51
}
52
0 commit comments