chore(deps): bump serialize-javascript and workbox-build in /rxpad - #15
Open
dependabot[bot] wants to merge 3 commits into
Open
chore(deps): bump serialize-javascript and workbox-build in /rxpad#15dependabot[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 [serialize-javascript](https://github.com/yahoo/serialize-javascript) and [workbox-build](https://github.com/googlechrome/workbox). These dependencies needed to be updated together. Updates `serialize-javascript` from 6.0.2 to 7.0.5 - [Release notes](https://github.com/yahoo/serialize-javascript/releases) - [Commits](yahoo/serialize-javascript@v6.0.2...v7.0.5) Updates `workbox-build` from 7.4.0 to 7.4.1 - [Release notes](https://github.com/googlechrome/workbox/releases) - [Commits](GoogleChrome/workbox@v7.4.0...v7.4.1) --- updated-dependencies: - dependency-name: serialize-javascript dependency-version: 7.0.5 dependency-type: indirect - dependency-name: workbox-build dependency-version: 7.4.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Deploying scribrx with
|
| Latest commit: |
d82b3db
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1c4eee2a.scribrx.pages.dev |
| Branch Preview URL: | https://dependabot-npm-and-yarn-rxpa-z9oh.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 serialize-javascript and workbox-build. These dependencies needed to be updated together.
Updates
serialize-javascriptfrom 6.0.2 to 7.0.5Release notes
Sourced from serialize-javascript's releases.
... (truncated)
Commits
df3f1c1release: v7.0.5f147e90Merge commit from forkeec32e0release: v7.0.4d5057157.0.32e609d0fix(CVE-2020-7660): fix for RegExp.flags and Date.prototype.toISOString (#207)42b7cdbbuild(deps-dev): bump lodash from 4.17.21 to 4.17.23 (#206)44f544brelease: v7.0.2 (#205)bba0dddci: setup trusted publishing workflow (#204)235f6eaci: bump GitHub Actions to latest versions (#203)f7fff15release: v7.0.1 (#202)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for serialize-javascript since your current version.
Updates
workbox-buildfrom 7.4.0 to 7.4.1Release notes
Sourced from workbox-build's releases.
Commits
62b9d8bv7.4.1b6b696cMerge pull request #3510 from GoogleChrome/chore/update-lock-file6524a7dUpdate test9a57e39Runnpm audit fix86035d8Update lock filec75363aMerge pull request #3508 from GoogleChrome/dependabot/github_actions/github/c...85383d6Merge pull request #3507 from GoogleChrome/dependabot/npm_and_yarn/apideck/be...a1cdb47Bump github/codeql-action from 4 to 4.35.205b276dBump@apideck/better-ajv-errorsfrom 0.3.1 to 0.3.78e6df29Merge pull request #3489 from rtritto/replace-lodashDependabot 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.