mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-07-19 01:16:25 +00:00
Remove defensive checks that are guaranteed by jsdom-global (window and document are always set), the jQuery alias for PrivateBin (unused after jQuery removal), and the conditional re-export block. The module reload (delete require.cache + re-require) is intentional and necessary: modules like CopyToClipboard hold DOM element references in closure variables and schedule setTimeout callbacks. Without a reload, those callbacks fire against elements from a now-dead jsdom window after cleanup(), causing cross-test interference. Document this clearly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| test | ||
| .istanbul.yml | ||
| .nycrc.yml | ||
| base-x-5.0.1.js | ||
| bootstrap-3.4.1.js | ||
| bootstrap-5.3.8.js | ||
| comment.jsonld | ||
| commentmeta.jsonld | ||
| common.js | ||
| dark-mode-switch.js | ||
| eslint.config.js | ||
| jquery-3.7.1.js | ||
| jsconfig.json | ||
| kjua-0.10.0.js | ||
| legacy.js | ||
| package-lock.json | ||
| package.json | ||
| paste.jsonld | ||
| pastemeta.jsonld | ||
| prettify.js | ||
| privatebin.js | ||
| purify-3.4.1.js | ||
| showdown-2.1.0.js | ||
| types.jsonld | ||
| zlib-1.3.2.js | ||
| zlib-1.3.2.wasm | ||
| zlib.js | ||