chore(deps): bump dompurify from 3.3.2 to 3.4.7 in /rxpad - #16
Open
dependabot[bot] wants to merge 3 commits into
Open
chore(deps): bump dompurify from 3.3.2 to 3.4.7 in /rxpad#16dependabot[bot] wants to merge 3 commits into
dependabot[bot] wants to merge 3 commits into
Conversation
Introduce an opt-in cloud backend (PocketBase) that adds accounts, cross-device
sync, a server-side AI proxy, and hosted QR verification — while preserving the
original zero-backend, on-device behaviour when no backend is configured.
Activation is controlled by VITE_PB_URL: when empty the app runs exactly as
before (IndexedDB-only, BYOK AI key, client-side HMAC QR). When set, cloud
features turn on with IndexedDB kept as an offline cache.
App-side:
- lib/pb.ts: PocketBase client singleton + auth helpers (gated on VITE_PB_URL)
- lib/store.ts: repository wrapping PocketBase + IndexedDB with the same surface
as db.ts, so pages only swapped their import path
- pages/Login.tsx: email/password + Google OAuth sign-in (cloud mode only)
- app.tsx: gate routing on auth, keep /verify and /auth/callback public
- gemini.ts: parsePrescriptionViaServer() routes parsing through /api/parse-rx,
reusing the existing sanitisers; BYOK path retained as fallback
- qr.ts + Verify.tsx: id-based QR verified server-side, HMAC payload as fallback
- Onboarding/Settings adapt to cloud mode (skip BYOK step, add account section)
Backend (backend/):
- pb_hooks/main.pb.js: POST /api/parse-rx (Gemini server-side, key never shipped)
and public GET /api/verify/{rxId}
- Dockerfile, fly.toml, and README with collection schemas, API rules, Google
OAuth, CORS, and Cloudflare R2 (free-tier) file-storage setup
Existing tests, type-check, and production build all pass.
Replace manual Admin-UI collection setup with a bundled migration that creates the profiles and prescriptions collections and their owner-scoped API rules on first start. The Dockerfile copies migrations/ into pb_migrations/, and the backend README now documents the migration (with the manual steps kept as a reference). prescriptions uses a composite unique index on (user, rxId) since the RX id counter is scoped per doctor.
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.3.2 to 3.4.7. - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](cure53/DOMPurify@3.3.2...3.4.7) --- updated-dependencies: - dependency-name: dompurify dependency-version: 3.4.7 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Deploying scribrx with
|
| Latest commit: |
70bcc68
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://808f9b6f.scribrx.pages.dev |
| Branch Preview URL: | https://dependabot-npm-and-yarn-rxpa-d8yn.scribrx.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps dompurify from 3.3.2 to 3.4.7.
Release notes
Sourced from dompurify's releases.
... (truncated)
Commits
ca30f07release: 3.4.7 (#1414)bb7739erelease: 3.4.6 (#1394)011b0c7release: 3.4.5 (#1382)5817ad9release: 3.4.4 (#1374)520edb0release: 3.4.3 (#1352)6f67fd3Sync/3.4.2 (#1322)5b0cdbbchore: merge main into 3.x for 3.4.1 release (#1301)09f5911test: added three more browsers to test setup (OSX, mobile)5b16e0bGetting 3.x branch ready for 3.4.0 release (#1250)8bcbf73chore: Preparing 3.3.3 releaseInstall script changes
This version adds
preparescript that runs during installation. Review the package contents before updating.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.