wayfind 2.0.66 → 2.0.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/content-store.js
CHANGED
|
@@ -156,8 +156,11 @@ function isRepoExcluded(repo) {
|
|
|
156
156
|
if (!repo) return (INCLUDE_REPOS.length > 0); // exclude null repo only when allowlist active
|
|
157
157
|
const lower = repo.toLowerCase();
|
|
158
158
|
|
|
159
|
-
// Allowlist takes priority — if set, only matching repos pass
|
|
159
|
+
// Allowlist takes priority — if set, only matching repos pass.
|
|
160
|
+
// Unqualified repo names (no '/') are always allowed — they're team member journals
|
|
161
|
+
// written without an org prefix and are almost certainly internal team work.
|
|
160
162
|
if (INCLUDE_REPOS.length > 0) {
|
|
163
|
+
if (!lower.includes('/')) return false; // unqualified names pass through
|
|
161
164
|
return !INCLUDE_REPOS.some(pattern => {
|
|
162
165
|
if (pattern.endsWith('/*')) {
|
|
163
166
|
// org/* wildcard — match org prefix
|
package/package.json
CHANGED