()
| 71 | else { const ds = pendingBare.get(imp.spec); ds ? ds.push(dir) : pendingBare.set(imp.spec, [dir]); } // a later manifest may declare it |
| 72 | }; |
| 73 | const retryPending = () => { |
| 74 | for (const [name, dirs] of [...pendingBare]) { |
| 75 | const target = table[name]; |
| 76 | if (target !== undefined) { for (const dir of dirs) queue.push(joinRel(dir, target)); pendingBare.delete(name); } |
| 77 | } |
| 78 | }; |
| 79 | |
| 80 | // Synthetic root packages.json so the COMPILER resolves bare names at parse time the same way. |
| 81 | if (Object.keys(table).length > 0) { |
no test coverage detected