(defaultModule)
| 174 | |
| 175 | // --- scope filter ----------------------------------------------------------- |
| 176 | function scopeSetFor(defaultModule) { |
| 177 | if (CONFIG.onlyLogScopeModules && CONFIG.onlyLogScopeModules.length) { |
| 178 | return new Set(CONFIG.onlyLogScopeModules); |
| 179 | } |
| 180 | return defaultModule ? new Set([defaultModule]) : null; |
| 181 | } |
| 182 | function inScope(scope, lib) { |
| 183 | if (!scope) return true; |
| 184 | if (!lib) return false; |