Conversation
Co-authored-by: ghandic <23500353+ghandic@users.noreply.github.com>
Co-authored-by: ghandic <23500353+ghandic@users.noreply.github.com>
… and CHANGELOG Co-authored-by: ghandic <23500353+ghandic@users.noreply.github.com>
Add tests, docs, and examples for @varlock/expo-integration
|
theoephraim
left a comment
There was a problem hiding this comment.
This is great! My main question here is what does it mean to be a "sensitive env var" within this context. In a few places it's mentioned that they are still available at runtime via the proxy (which is true for some other integrations) but how does that work here? Are sensitive env vars even a thing in native apps since you can never really secure them?
| "@babel/core": ">=7" | ||
| }, | ||
| "devDependencies": { | ||
| "@babel/core": "^7.0.0", |
There was a problem hiding this comment.
7.29.0 is the latest - not sure if better to leave at earliest or use current. I think in similar situations we mostly use the current version.
There was a problem hiding this comment.
In the root package.json it has "@babel/core": "^7.0.0", - happy to put either
Co-authored-by: Theo Ephraim <theozero@gmail.com>
Intention was for server api routes in expo, I have added this and validation in my next commit as well as better explanation around it |
|
great - I figured that was the case but I'm not familiar so just wasn't sure, and wanted to make sure it wasnt just hallucinating based on other readmes :) |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
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.
|
This pull request introduces a new Expo / React Native integration package for varlock, providing a Babel plugin that enables secure, type-safe environment variable handling in Expo projects. The integration statically replaces non-sensitive
ENV.xxxreferences at compile time, validates environment variables, and ensures sensitive values are never leaked into the bundle. The pull request also includes initial documentation, test coverage, build configuration, and updates to workspace settings and website navigation.Expo / React Native integration package:
@varlock/expo-integrationwith a Babel plugin (src/babel-plugin.ts) that replaces non-sensitiveENV.xxxreferences with static values at compile time and leaves sensitive values for runtime access, including leak prevention and log redaction features.README.md) and changelog for the new Expo integration, outlining installation, usage, security, and features. [1] [2]package.json, including peer dependencies, build scripts, and export settings.Build and workspace configuration:
tsup.config.ts) and TypeScript settings (tsconfig.json) for the new Expo integration package. [1] [2]package.jsonworkspace configuration to support newintegrationsandpluginspackage directories.Website update:
astro.config.ts, highlighting it as a new feature.