Skip to content

Jesus/legal consent analytics privacy - #899

Open
keeandev wants to merge 17 commits into
devfrom
jesus/legal-consent-analytics-privacy
Open

Jesus/legal consent analytics privacy#899
keeandev wants to merge 17 commits into
devfrom
jesus/legal-consent-analytics-privacy

Conversation

@keeandev

Copy link
Copy Markdown
Contributor

No description provided.

@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
langquest Ready Ready Preview, Comment Jul 6, 2026 3:43pm

Request Review

@supabase

supabase Bot commented Jun 16, 2026

Copy link
Copy Markdown

Updates to Preview Branch (jesus/legal-consent-analytics-privacy) ↗︎

Deployments Status Updated
Database Mon, 06 Jul 2026 15:42:28 UTC
Services Mon, 06 Jul 2026 15:42:28 UTC
APIs Mon, 06 Jul 2026 15:42:28 UTC

Tasks are run on every commit but only new migration files are pushed.
Close and reopen this PR if you want to apply changes from existing seed or migration files.

Tasks Status Updated
Configurations Mon, 06 Jul 2026 15:42:35 UTC
Migrations Mon, 06 Jul 2026 15:42:38 UTC
Seeding Mon, 06 Jul 2026 15:42:39 UTC
Edge Functions Mon, 06 Jul 2026 15:42:52 UTC

View logs for this Workflow Run ↗︎.
Learn more about Supabase for Git ↗︎.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 16, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
langquest-resend-webhook-router 8ae6e9d Commit Preview URL

Branch Preview URL
Jul 06 2026, 03:42 PM

… privacy-update

email template, and refine Profile
analytics consent copy.
@socket-security

socket-security Bot commented Jun 22, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​react-email/​components@​1.0.12981008450100
Added@​react-email/​ui@​6.5.0761008699100
Addedreact@​19.2.41001008497100
Addedreact-email@​6.5.0991009298100
Addedwrangler@​4.103.0991009296100
Addedreact-dom@​19.2.41001009298100

View full report

@socket-security

socket-security Bot commented Jun 22, 2026

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm @emnapi/runtime is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: supabase/functions/send-email/package-lock.jsonnpm/@react-email/ui@6.5.0npm/wrangler@4.103.0npm/@emnapi/runtime@1.11.1

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@emnapi/runtime@1.11.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm @react-email/ui is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: supabase/functions/send-email/package-lock.jsonnpm/@react-email/ui@6.5.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@react-email/ui@6.5.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm css-tree is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: supabase/functions/send-email/package-lock.jsonnpm/react-email@6.5.0npm/css-tree@3.2.1

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/css-tree@3.2.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm next is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: supabase/functions/send-email/package-lock.jsonnpm/@react-email/ui@6.5.0npm/next@16.2.6

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/next@16.2.6. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Native Build Required - See the comment below for details.

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

⚠️ Native Build Required - Manual Approval Needed

This PR requires a native build because the fingerprint has changed compared to the base branch.

🔎 What changed
--- before (packageJson:scripts)
+++ after (packageJson:scripts)
@@ -42,7 +42,12 @@
   "typecheck": "tsc --noEmit",
   "powersync:start": "docker compose -f supabase/docker-compose.yml --env-file .env.local up -w",
   "powersync:stop": "docker compose -f supabase/docker-compose.yml --env-file .env.local down",
+  "dr:freeze-clients": "dotenvx run -f scripts/dr/.env.preview -- bash scripts/dr/freeze-clients.sh",
+  "dr:unfreeze-clients": "dotenvx run -f scripts/dr/.env.preview -- bash scripts/dr/unfreeze-clients.sh",
+  "dr:freeze-clients:prod": "dotenvx run -f scripts/dr/.env.production -- bash scripts/dr/freeze-clients.sh",
+  "dr:unfreeze-clients:prod": "dotenvx run -f scripts/dr/.env.production -- bash scripts/dr/unfreeze-clients.sh",
   "resend": "npx emulate@latest --service resend --port 4000",
+  "resend:view": "npm --prefix supabase/functions/send-email run dev",
   "env:start": "concurrently -n supabase -c green \"npm:sb start\" && concurrently -k -n edge-fn,powersync,resend -c yellow,cyan,magenta \"npm:sb:serve-functions\" \"npm:powersync:start\" \"npm:resend\"",
   "env:stop": "npm run powersync:stop && npm run sb stop && rm -f supabase/functions/.env",
   "env": "npm run generate-env && npm run env:start && npm run env:stop",
🔍 Full JSON diff (for debugging)
[
  {
    "op": "changed",
    "beforeSource": {
      "type": "contents",
      "id": "packageJson:scripts",
      "contents": "{\"start\":\"expo start --dev-client\",\"start:offline:android\":\"npm run start -- --localhost --android\",\"start:prod\":\"npm run start -- --no-dev --minify\",\"export:android\":\"EXPO_ATLAS=true npx expo export --platform android\",\"export:ios\":\"EXPO_ATLAS=true npx expo export --platform ios\",\"export:web\":\"EXPO_ATLAS=true npx expo export --platform web\",\"export:all\":\"EXPO_ATLAS=true npx expo export\",\"export:dev:android\":\"EXPO_ATLAS=true npm run export:android -- --dev\",\"export:dev:ios\":\"EXPO_ATLAS=true npm run export:ios -- --dev\",\"export:dev:web\":\"EXPO_ATLAS=true npm run export:web -- --dev\",\"export:dev:all\":\"EXPO_ATLAS=true npm run export:all -- --dev\",\"export:analyze\":\"npx expo-atlas .expo/atlas.jsonl\",\"posthog:upload-sourcemaps\":\"posthog-cli hermes upload --directory dist\",\"update\":\"eas update && npm run posthog:upload-sourcemaps\",\"update:preview\":\"eas update --branch preview && npm run posthog:upload-sourcemaps\",\"update:production\":\"eas update --branch production && npm run posthog:upload-sourcemaps\",\"update:development\":\"eas update --branch development && npm run posthog:upload-sourcemaps\",\"generate-env\":\"npx tsx ./scripts/generate-env.ts\",\"reset-project\":\"node ./scripts/reset-project.js\",\"clean-install\":\"git clean -xdf node_modules package-lock.json && npm i\",\"clean-rebuild:android\":\"npm run clean-install && npx expo prebuild --platform android --clean\",\"clean-rebuild:ios\":\"npm run clean-install && npx expo prebuild --platform ios --clean\",\"clean-rebuild\":\"npm run clean-install && npx expo prebuild --clean\",\"android\":\"expo run:android --variant debugOptimized --device\",\"android:memory\":\"NODE_OPTIONS=--max-old-space-size=8192 expo run:android --variant debugOptimized --device\",\"android:multi\":\"npm run start\",\"android:device\":\"expo run:android --device --no-bundler\",\"android:preview\":\"npx cross-env EXPO_PUBLIC_APP_VARIANT=preview expo run:android --device --variant release\",\"android:release\":\"npx cross-env EXPO_PUBLIC_APP_VARIANT=production expo run:android --device --variant release\",\"ios\":\"expo run:ios --device\",\"ios:preview\":\"npx cross-env EXPO_PUBLIC_APP_VARIANT=preview expo run:ios --device --variant release\",\"ios:release\":\"npx cross-env EXPO_PUBLIC_APP_VARIANT=production expo run:ios --device --variant release\",\"web\":\"npm run powersync:copy-assets && expo start --web\",\"db:view\":\"npx drizzle-lab@latest visualizer --project-id LangQuest\",\"test\":\"jest --watchAll\",\"lint\":\"eslint\",\"lint:fix\":\"eslint --fix\",\"lint:inspect\":\"npx @eslint/config-inspector\",\"format\":\"prettier --check .\",\"format:fix\":\"prettier --write .\",\"typecheck\":\"tsc --noEmit\",\"powersync:start\":\"docker compose -f supabase/docker-compose.yml --env-file .env.local up -w\",\"powersync:stop\":\"docker compose -f supabase/docker-compose.yml --env-file .env.local down\",\"resend\":\"npx emulate@latest --service resend --port 4000\",\"env:start\":\"concurrently -n supabase -c green \\\"npm:sb start\\\" && concurrently -k -n edge-fn,powersync,resend -c yellow,cyan,magenta \\\"npm:sb:serve-functions\\\" \\\"npm:powersync:start\\\" \\\"npm:resend\\\"\",\"env:stop\":\"npm run powersync:stop && npm run sb stop && rm -f supabase/functions/.env\",\"env\":\"npm run generate-env && npm run env:start && npm run env:stop\",\"env:clean\":\"npm run sb:clean && npm run powersync:clean\",\"powersync:copy-assets\":\"npx powersync-web copy-assets\",\"powersync:diagnostics\":\"docker run --pull always -p 8082:80 --platform linux/amd64 journeyapps/powersync-diagnostics-app\",\"powersync:clean\":\"npm run powersync:stop && docker volume rm -f powersync_mongo_storage\",\"sb:clean\":\"git clean -xdf supabase/**/.DS_Store && npm run sb db reset && npm run sb stop\",\"decrypt-env\":\"dotenvx run -f supabase/.env -f supabase/.env.preview -f supabase/.env.local --overload\",\"sb\":\"npm run decrypt-env -- npx supabase@beta\",\"decrypt-env:file\":\"dotenvx get -f supabase/.env -f supabase/.env.preview -f supabase/.env.local --overload 2>/dev/null | node -e \\\"const j=JSON.parse(require(fs).readFileSync(/dev/stdin,utf8));Object.entries(j).forEach(([k,v])=>console.log(k+=\\\"+v+\\\"))\\\" > supabase/functions/.env\",\"sb:serve-functions\":\"npm run decrypt-env:file && npm run sb functions serve -- --env-file supabase/functions/.env\",\"sb:functions:deploy:send-email:dev\":\"npm run sb functions deploy send-email -- --no-verify-jwt --project-ref yjgdgsycxmlvaiuynlbv\",\"sb:functions:deploy:send-email:prod\":\"npm run sb functions deploy send-email -- --no-verify-jwt --project-ref unsxkmlcyxgtgmtzfonb\",\"package-lock:fix\":\"npm install --package-lock-only\",\"shadcn\":\"shadcn\",\"knip:check\":\"knip\",\"postinstall\":\"patch-package\",\"prepare\":\"git config core.hooksPath .githooks\",\"adb:tunnel\":\"adb reverse tcp:8081 tcp:8081\",\"android:eas:build:preview\":\"eas build --platform android --profile preview\"}",
      "reasons": [
        "packageJson:scripts"
      ],
      "hash": "478cb33701749ddb3e5e2798af7363daba1be215"
    },
    "afterSource": {
      "type": "contents",
      "id": "packageJson:scripts",
      "contents": "{\"start\":\"expo start --dev-client\",\"start:offline:android\":\"npm run start -- --localhost --android\",\"start:prod\":\"npm run start -- --no-dev --minify\",\"export:android\":\"EXPO_ATLAS=true npx expo export --platform android\",\"export:ios\":\"EXPO_ATLAS=true npx expo export --platform ios\",\"export:web\":\"EXPO_ATLAS=true npx expo export --platform web\",\"export:all\":\"EXPO_ATLAS=true npx expo export\",\"export:dev:android\":\"EXPO_ATLAS=true npm run export:android -- --dev\",\"export:dev:ios\":\"EXPO_ATLAS=true npm run export:ios -- --dev\",\"export:dev:web\":\"EXPO_ATLAS=true npm run export:web -- --dev\",\"export:dev:all\":\"EXPO_ATLAS=true npm run export:all -- --dev\",\"export:analyze\":\"npx expo-atlas .expo/atlas.jsonl\",\"posthog:upload-sourcemaps\":\"posthog-cli hermes upload --directory dist\",\"update\":\"eas update && npm run posthog:upload-sourcemaps\",\"update:preview\":\"eas update --branch preview && npm run posthog:upload-sourcemaps\",\"update:production\":\"eas update --branch production && npm run posthog:upload-sourcemaps\",\"update:development\":\"eas update --branch development && npm run posthog:upload-sourcemaps\",\"generate-env\":\"npx tsx ./scripts/generate-env.ts\",\"reset-project\":\"node ./scripts/reset-project.js\",\"clean-install\":\"git clean -xdf node_modules package-lock.json && npm i\",\"clean-rebuild:android\":\"npm run clean-install && npx expo prebuild --platform android --clean\",\"clean-rebuild:ios\":\"npm run clean-install && npx expo prebuild --platform ios --clean\",\"clean-rebuild\":\"npm run clean-install && npx expo prebuild --clean\",\"android\":\"expo run:android --variant debugOptimized --device\",\"android:memory\":\"NODE_OPTIONS=--max-old-space-size=8192 expo run:android --variant debugOptimized --device\",\"android:multi\":\"npm run start\",\"android:device\":\"expo run:android --device --no-bundler\",\"android:preview\":\"npx cross-env EXPO_PUBLIC_APP_VARIANT=preview expo run:android --device --variant release\",\"android:release\":\"npx cross-env EXPO_PUBLIC_APP_VARIANT=production expo run:android --device --variant release\",\"ios\":\"expo run:ios --device\",\"ios:preview\":\"npx cross-env EXPO_PUBLIC_APP_VARIANT=preview expo run:ios --device --variant release\",\"ios:release\":\"npx cross-env EXPO_PUBLIC_APP_VARIANT=production expo run:ios --device --variant release\",\"web\":\"npm run powersync:copy-assets && expo start --web\",\"db:view\":\"npx drizzle-lab@latest visualizer --project-id LangQuest\",\"test\":\"jest --watchAll\",\"lint\":\"eslint\",\"lint:fix\":\"eslint --fix\",\"lint:inspect\":\"npx @eslint/config-inspector\",\"format\":\"prettier --check .\",\"format:fix\":\"prettier --write .\",\"typecheck\":\"tsc --noEmit\",\"powersync:start\":\"docker compose -f supabase/docker-compose.yml --env-file .env.local up -w\",\"powersync:stop\":\"docker compose -f supabase/docker-compose.yml --env-file .env.local down\",\"dr:freeze-clients\":\"dotenvx run -f scripts/dr/.env.preview -- bash scripts/dr/freeze-clients.sh\",\"dr:unfreeze-clients\":\"dotenvx run -f scripts/dr/.env.preview -- bash scripts/dr/unfreeze-clients.sh\",\"dr:freeze-clients:prod\":\"dotenvx run -f scripts/dr/.env.production -- bash scripts/dr/freeze-clients.sh\",\"dr:unfreeze-clients:prod\":\"dotenvx run -f scripts/dr/.env.production -- bash scripts/dr/unfreeze-clients.sh\",\"resend\":\"npx emulate@latest --service resend --port 4000\",\"resend:view\":\"npm --prefix supabase/functions/send-email run dev\",\"env:start\":\"concurrently -n supabase -c green \\\"npm:sb start\\\" && concurrently -k -n edge-fn,powersync,resend -c yellow,cyan,magenta \\\"npm:sb:serve-functions\\\" \\\"npm:powersync:start\\\" \\\"npm:resend\\\"\",\"env:stop\":\"npm run powersync:stop && npm run sb stop && rm -f supabase/functions/.env\",\"env\":\"npm run generate-env && npm run env:start && npm run env:stop\",\"env:clean\":\"npm run sb:clean && npm run powersync:clean\",\"powersync:copy-assets\":\"npx powersync-web copy-assets\",\"powersync:diagnostics\":\"docker run --pull always -p 8082:80 --platform linux/amd64 journeyapps/powersync-diagnostics-app\",\"powersync:clean\":\"npm run powersync:stop && docker volume rm -f powersync_mongo_storage\",\"sb:clean\":\"git clean -xdf supabase/**/.DS_Store && npm run sb db reset && npm run sb stop\",\"decrypt-env\":\"dotenvx run -f supabase/.env -f supabase/.env.preview -f supabase/.env.local --overload\",\"sb\":\"npm run decrypt-env -- npx supabase@beta\",\"decrypt-env:file\":\"dotenvx get -f supabase/.env -f supabase/.env.preview -f supabase/.env.local --overload 2>/dev/null | node -e \\\"const j=JSON.parse(require(fs).readFileSync(/dev/stdin,utf8));Object.entries(j).forEach(([k,v])=>console.log(k+=\\\"+v+\\\"))\\\" > supabase/functions/.env\",\"sb:serve-functions\":\"npm run decrypt-env:file && npm run sb functions serve -- --env-file supabase/functions/.env\",\"sb:functions:deploy:send-email:dev\":\"npm run sb functions deploy send-email -- --no-verify-jwt --project-ref yjgdgsycxmlvaiuynlbv\",\"sb:functions:deploy:send-email:prod\":\"npm run sb functions deploy send-email -- --no-verify-jwt --project-ref unsxkmlcyxgtgmtzfonb\",\"package-lock:fix\":\"npm install --package-lock-only\",\"shadcn\":\"shadcn\",\"knip:check\":\"knip\",\"postinstall\":\"patch-package\",\"prepare\":\"git config core.hooksPath .githooks\",\"adb:tunnel\":\"adb reverse tcp:8081 tcp:8081\",\"android:eas:build:preview\":\"eas build --platform android --profile preview\"}",
      "reasons": [
        "packageJson:scripts"
      ],
      "hash": "8ae02df1466af8e945e94cd670cb3a77fc9bb1e5"
    }
  }
]

Action Required: After confirming with the team, another team member must approve this PR to proceed with merging.

👉 Approve this PR - Click "Review changes/Submit review" → "Approve" to dismiss this review and allow merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant