Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Feb 3, 2025

Bumps zx from 8.2.2 to 8.3.2.

Release notes

Sourced from zx's releases.

8.3.2 – Clogged Drain

Restrics unsafe vals usage on dotenv.stringify #1093 #1094

8.3.1 – Perfect Seal

The release essence: introduced full-featured .env support #461#1060 #1052 #1043 #1037 #1032 #1030 #1022

API

envapi is a tiny 100 LOC dotenv-inspired parser and serializer that we've integrated into zx.

import { dotenv, fs } from 'zx'
// parse
const env = dotenv.parse('A=A\nFOO=BAR') // { A: 'A', FOO: 'BAR' }
// serialize
const raw = dotenv.stringify(env) // A=A\nFOO=BAR
await fs.writeFile('.env', raw)
// load
dotenv.load('.env') // { A: 'A', FOO: 'BAR' }
// update the process.env
dotenv.config('.env')
process.env.A // A

CLI

zx --env .env script.mjs
zx --env-file .env script.mjs

QnA

— Why not use dotenv directly?
— 1) Size does matter 2) We'd like to avoid internal vaults.

— Why not load .env by default?
— 1) Explicit is better than implicit 2) Runtime itself (like bun) may provide the feature.

Chore

  • Provided stdall piping #1033
  • Exposed ProcessPromise fullCmd and unique id #1035
  • Simplified internal regexps #1040 #1038
  • Removed zx globals from unit tests scope #1039
  • Added check if tempfile exists #1041
  • Added ts support in markdown #1042
  • Enabled CodeQL and OSV scanners #1011
  • Configured pre-push git hooks #1044

... (truncated)

Commits
  • 5ba714d fix: check user input on dotenv.stringify (#1094)
  • 2772b44 ci: update gh pages actions (#1092)
  • 81a3940 docs: describe $.defaults and shell setup helpers, mention asyncIterator, a...
  • a94559d ci: update osv scanner action (#1090)
  • 8b01a81 chore: bump version to 8.4.0, update deps zurk, ps, envapi (#1089)
  • 5f40814 test: enable jsr and integration test suites (#1087)
  • 3419ab6 fmt
  • 48decce Remove v7 docs from website
  • 76ea47a Update docs.yml: install @​rollup/rollup-linux-x64-gnu
  • 60e0bb1 Update docs.yml
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 [zx](https://github.com/google/zx) from 8.2.2 to 8.3.2.
- [Release notes](https://github.com/google/zx/releases)
- [Commits](google/zx@8.2.2...8.3.2)

---
updated-dependencies:
- dependency-name: zx
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 3, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 11, 2025

Superseded by #36.

@dependabot dependabot bot closed this Mar 11, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/zx-8.3.2 branch March 11, 2025 00:32
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant