Commit 000af3e
authored
ci(superdoc): enroll use-password-prompt.js under checkJs gate (SD-2866) (#3050)
Third file under the SD-2863 ratchet. Closes 8 errors that the probe
surfaced:
- The internal queue's element type lacked the `originalException`
field that handleEncryptionError pushes onto each entry. Real drift:
the JSDoc said `{ doc, errorCode }` but the runtime stored
`{ doc, errorCode, originalException }` and the value was read again
in onUnhandled. Promoted to a named QueueEntry typedef with the
field properly declared.
- queue.shift() returns undefined when empty; added a fast-path early
return after the shift so the rest of the function can rely on a
defined entry.
- The lazy import of PasswordPromptSurface.vue now goes through the
*.vue ambient shim added in SD-2865 and casts the default export to
object before passing to markRaw().
Stacks on caio/SD-2865-checkjs-find-replace because SD-2865 introduced
the *.vue shim.1 parent cad5ff4 commit 000af3e
2 files changed
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
45 | 55 | | |
46 | 56 | | |
47 | 57 | | |
| |||
128 | 138 | | |
129 | 139 | | |
130 | 140 | | |
| 141 | + | |
131 | 142 | | |
132 | 143 | | |
133 | 144 | | |
| |||
233 | 244 | | |
234 | 245 | | |
235 | 246 | | |
236 | | - | |
237 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
238 | 252 | | |
239 | 253 | | |
240 | 254 | | |
| |||
0 commit comments