Skip to content

chore(deps): bump varlock from 0.7.4 to 1.10.0 - #134

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/varlock-1.10.0
Closed

chore(deps): bump varlock from 0.7.4 to 1.10.0#134
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/varlock-1.10.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 11, 2026

Copy link
Copy Markdown
Contributor

Bumps varlock from 0.7.4 to 1.10.0.

Release notes

Sourced from varlock's releases.

varlock v1.10.0

  • #849 (minor) Generate code for Python, Rust, Go, and PHP with new per-language decorators (@generatePythonEnv, @generateRustEnv, @generateGoEnv, @generatePhpEnv). Each emits a self-contained, idiomatic module — typed coerced values, a loader that parses the injected env, and a SENSITIVE_KEYS constant — so it's usable out of the box. The TypeScript generator moves to @generateTsTypes and gains options to control process.env/import.meta.env augmentation and a monorepo-friendly exposeEnv=local mode. @generateTypes(lang=ts) still works as a deprecated alias. The varlock typegen command is renamed to varlock codegen (with typegen kept as a deprecated alias). Note: @disableProcessEnvInjection now requires a static true/false value — env-dependent values like forEnv(prod) are a schema error, since generated code must not differ per environment.

  • #866 (patch) plugin-registered data types can now declare coercedType so generated env modules type their fields correctly (previously they always emitted as strings)

  • #861 (patch) Runtime leak detection now catches secrets in compressed responses: gzipped responses that fit in a single chunk (i.e. most pages) were never scanned, so browsers — which always send Accept-Encoding: gzip — could receive leaked sensitive values the scanner should have blocked. Brotli and zstd responses are now scanned too, and compressed chunks containing a leak fail closed (the response is killed) instead of passing through.

    Note: since most browser traffic previously bypassed the scanner, an app with an existing undetected leak will start seeing those responses blocked after upgrading — look for DETECTED LEAKED SENSITIVE CONFIG in server logs, which names the offending config key.

  • #861 (patch) Runtime fixes: env state is now shared across bundled copies of varlock/env (fixes stale values after env reloads when a bundler duplicates the module, including cleanup of process.env keys removed between reloads), and node:crypto is loaded lazily — with encrypted env blobs decrypting via WebCrypto on edge runtimes that lack it entirely (e.g. Vercel Edge). Minimum supported Node version is now 22.3.

  • #853 (patch) - Reject unknown or misspelled CLI flags with a did-you-mean suggestion instead of silently ignoring them

  • #865 (patch) icon fetching during type generation now ignores failed responses, times out after 2s, and doesn't retry failed icons within a run

  • #854 (patch) Windows local encryption now uses TPM-sealed keys via NCrypt when available; existing DPAPI keys auto-upgrade on the next decrypt.

Published to

varlock v1.9.0

  • #835 (minor) - Add varlock keychain commands to manage macOS Keychain-backed secrets.

  • #830 (patch) Improved audit and init env var scanning in monorepos:

    • Scanning no longer descends into child packages — any subdirectory with its own package.json or .env.schema is treated as a separate package and skipped. This fixes spurious results and makes scanning much faster.
    • Pure execution-environment plumbing (PATH, HOME, SHELL, NODE_OPTIONS, npm_*, etc.) is no longer reported as "missing in schema" by audit, nor added to inferred schemas by init. App-meaningful vars like NODE_ENV and CI variables are still reported.

Published to

... (truncated)

Changelog

Sourced from varlock's changelog.

1.10.0

2026-07-06

  • #849 (minor) Generate code for Python, Rust, Go, and PHP with new per-language decorators (@generatePythonEnv, @generateRustEnv, @generateGoEnv, @generatePhpEnv). Each emits a self-contained, idiomatic module — typed coerced values, a loader that parses the injected env, and a SENSITIVE_KEYS constant — so it's usable out of the box. The TypeScript generator moves to @generateTsTypes and gains options to control process.env/import.meta.env augmentation and a monorepo-friendly exposeEnv=local mode. @generateTypes(lang=ts) still works as a deprecated alias. The varlock typegen command is renamed to varlock codegen (with typegen kept as a deprecated alias). Note: @disableProcessEnvInjection now requires a static true/false value — env-dependent values like forEnv(prod) are a schema error, since generated code must not differ per environment.

  • #853 (patch) - Reject unknown or misspelled CLI flags with a did-you-mean suggestion instead of silently ignoring them

  • #861 (patch) Runtime leak detection now catches secrets in compressed responses: gzipped responses that fit in a single chunk (i.e. most pages) were never scanned, so browsers — which always send Accept-Encoding: gzip — could receive leaked sensitive values the scanner should have blocked. Brotli and zstd responses are now scanned too, and compressed chunks containing a leak fail closed (the response is killed) instead of passing through.

    Note: since most browser traffic previously bypassed the scanner, an app with an existing undetected leak will start seeing those responses blocked after upgrading — look for DETECTED LEAKED SENSITIVE CONFIG in server logs, which names the offending config key.

  • #861 (patch) Runtime fixes: env state is now shared across bundled copies of varlock/env (fixes stale values after env reloads when a bundler duplicates the module, including cleanup of process.env keys removed between reloads), and node:crypto is loaded lazily — with encrypted env blobs decrypting via WebCrypto on edge runtimes that lack it entirely (e.g. Vercel Edge). Minimum supported Node version is now 22.3.

  • #854 (patch) Windows local encryption now uses TPM-sealed keys via NCrypt when available; existing DPAPI keys auto-upgrade on the next decrypt.

  • #865 (patch) icon fetching during type generation now ignores failed responses, times out after 2s, and doesn't retry failed icons within a run

  • #866 (patch) plugin-registered data types can now declare coercedType so generated env modules type their fields correctly (previously they always emitted as strings)

1.9.0

2026-06-25

  • #835 (minor) - Add varlock keychain commands to manage macOS Keychain-backed secrets.

  • #830 (patch) Improved audit and init env var scanning in monorepos:

    • Scanning no longer descends into child packages — any subdirectory with its own package.json or .env.schema is treated as a separate package and skipped. This fixes spurious results and makes scanning much faster.
    • Pure execution-environment plumbing (PATH, HOME, SHELL, NODE_OPTIONS, npm_*, etc.) is no longer reported as "missing in schema" by audit, nor added to inferred schemas by init. App-meaningful vars like NODE_ENV and CI variables are still reported.

1.8.0

2026-06-23

  • #817 (minor) - Add @​internal decorator to mark items used only by varlock (e.g. a secret-zero token) so they are resolved but not injected into your app
  • #818 (minor) - Enrich CLI telemetry with plugin, integration, and schema feature context.
  • #811 (patch) - Stop UPX on Windows native encrypt binary, sign via Azure Artifact Signing, and publish SHA256SUMS for native helpers
  • #812 (patch) - varlock run now forwards termination signals (SIGTERM/SIGINT/SIGHUP/SIGQUIT) to the child process and propagates its exit status faithfully (128+N on signal death), making it safe to use as a container ENTRYPOINT / PID 1
  • #799 (patch) - Update gunshi to 0.35. varlock cache status/clear are now proper subcommands with scoped help and completion, and printenv/explain/reveal/scan/audit now declare their positional arguments so they appear in --help and shell completion.

1.7.2

2026-06-19

  • #806 (patch) - Fix typegen leaking keys that exist only in a plain .env (not declared in .env.schema) into generated types. varlock typegen now also reports any such ignored keys.
  • #809 (patch) - Detect circular @​import() between schemas and fail with a clear error instead of crashing
  • #808 (patch) - Bundle the varlock agent skill in the npm package so agents can discover version-pinned guidance from node_modules

1.7.1

2026-06-17

  • #790 (patch) - Fix typed builtin vars (e.g. boolean VARLOCK_IS_CI) being stringified when referenced from root decorators like @import/@​initOp, which broke not()/if() logic
  • #794 (patch) - Object and array literals can now span multiple lines. Inside decorators each continuation line is prefixed with # (like multi-line function calls), e.g. a long @import(./.env.shared, pick=[ ... ]) key list; literals nested in item-value function calls use plain newlines. Single-line literals are unchanged.

... (truncated)

Commits
  • dd7863b Version packages (#855)
  • 7ad0489 feat(codegen): first-class coercedType hint on data type defs (#866)
  • 38e6d4b fix(codegen): harden icon fetching (ok-check, timeout, negative cache) (#865)
  • b696697 Code-generation registry + per-language typegen decorators (#849)
  • ad754af first pass of actual windows tpm support (#854)
  • aa6d178 runtime hardening pre-release: br/zstd leak scanning, shared process.env book...
  • 49cfdec real-deployment test suite: weekly Vercel smoke (stacked on #861) (#862)
  • 41fa173 nextjs framework tests: pages router + middleware coverage (fixes 3 integrati...
  • af121a4 feat(cli): reject unknown/misspelled flags with did-you-mean suggestions (#853)
  • 01a7abb Version packages (#836)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [varlock](https://github.com/dmno-dev/varlock/tree/HEAD/packages/varlock) from 0.7.4 to 1.10.0.
- [Release notes](https://github.com/dmno-dev/varlock/releases)
- [Changelog](https://github.com/dmno-dev/varlock/blob/main/packages/varlock/CHANGELOG.md)
- [Commits](https://github.com/dmno-dev/varlock/commits/varlock@1.10.0/packages/varlock)

---
updated-dependencies:
- dependency-name: varlock
  dependency-version: 1.10.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 11, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) July 11, 2026 02:15
@socket-security

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
Updatedvarlock@​0.7.4 ⏵ 1.10.083 +110097 +196 +1100

View full report

@dependabot @github

dependabot Bot commented on behalf of github Jul 18, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #137.

@dependabot dependabot Bot closed this Jul 18, 2026
auto-merge was automatically disabled July 18, 2026 02:14

Pull request was closed

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/varlock-1.10.0 branch July 18, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants