Skip to content

chore(deps): update all dev dependencies (major)#1142

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-all-dev-dependencies
Open

chore(deps): update all dev dependencies (major)#1142
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-all-dev-dependencies

Conversation

@renovate

@renovate renovate Bot commented May 29, 2024

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence Type Update
@types/jest (source) ^29.2.3^30.0.0 age confidence devDependencies major
@types/node (source) ^18.11.9^24.0.0 age confidence devDependencies major
cross-env ^7.0.3^10.0.0 age confidence devDependencies major
duct 0.13.71.0.0 age confidence dev-dependencies major
execa 7.2.09.6.1 age confidence devDependencies major
jest (source) ^29.3.1^30.0.0 age confidence devDependencies major
p-retry ^6.2.0^8.0.0 age confidence devDependencies major
toml 3.0.04.1.1 age confidence devDependencies major
typescript (source) ^5.0.0^6.0.0 age confidence devDependencies major
which ^3.0.1^6.0.0 age confidence devDependencies major
zod (source) ^3.19.1^4.0.0 age confidence devDependencies major

Release Notes

kentcdodds/cross-env (cross-env)

v10.1.0

Compare Source

Features
  • add support for default value syntax (152ae6a)

For example:

"dev:server": "cross-env wrangler dev --port ${PORT:-8787}",

If PORT is already set, use that value, otherwise fallback to 8787.

Learn more about Shell Parameter Expansion

v10.0.0

Compare Source

TL;DR: You should probably not have to change anything if:

  • You're using a modern maintained version of Node.js (v20+ is tested)
  • You're only using the CLI (most of you are as that's the intended purpose)

In this release (which should have been v8 except I had some issues with automated releases 🙈), I've updated all the things and modernized the package. This happened in #​261

Was this needed? Not really, but I just thought it'd be fun to modernize this package.

Here's the highlights of what was done.

  • Replace Jest with Vitest for testing
  • Convert all source files from .js to .ts with proper TypeScript types
  • Use zshy for ESM-only builds (removes CJS support)
  • Adopt @​epic-web/config for TypeScript, ESLint, and Prettier
  • Update to Node.js >=20 requirement
  • Remove kcd-scripts dependency
  • Add comprehensive e2e tests with GitHub Actions matrix testing
  • Update GitHub workflow with caching and cross-platform testing
  • Modernize documentation and remove outdated sections
  • Update all dependencies to latest versions
  • Add proper TypeScript declarations and exports

The tool maintains its original functionality while being completely modernized with the latest tooling and best practices

BREAKING CHANGES
  • This is a major rewrite that changes the module format from CommonJS to ESM-only. The package now requires Node.js >=20 and only exports ESM modules (not relevant in most cases).
oconnor663/duct.rs (duct)

v1.1.1

Compare Source

v1.1.0

Compare Source

v1.0.0

Compare Source

sindresorhus/execa (execa)

v9.6.1

Compare Source


v9.6.0

Compare Source


v9.5.3

Compare Source


v9.5.2

Compare Source

Bug fixes

v9.5.1

Compare Source

Bug fixes

v9.5.0

Compare Source

Features
await execa({stdout: {file: 'output.txt', append: true}})`npm run build`;

v9.4.1

Compare Source

Bug fixes

v9.4.0

Compare Source

Features

  • We've created a separate package called nano-spawn. It is similar to Execa but with fewer features, for a much smaller package size. More info.

Bug fixes

Documentation

v9.3.1

Compare Source

Thanks @​holic and @​jimhigson for your contributions!

Bugs

Bugs (types)

  • Fix type of the env option. It was currently failing for Remix or Next.js users. (by @​holic) (#​1141)

Documentation

v9.3.0

Compare Source

Features

v9.2.0

Compare Source

This release includes a new set of methods to exchange messages between the current process and a Node.js subprocess, also known as "IPC". This allows passing and returning almost any message type to/from a Node.js subprocess. Also, debugging IPC is now much easier.

Moreover, a new gracefulCancel option has also been added to terminate a subprocess gracefully.

For a deeper dive-in, please check and share the release post!

Thanks @​iiroj for your contribution, @​SimonSiefke and @​adymorz for reporting the bugs fixed in this release, and @​karlhorky for improving the documentation!

Deprecations
  • Passing 'ipc' to the stdio option has been deprecated. It will be removed in the next major release. Instead, the ipc: true option should be used. (#​1056)
- await execa('npm', ['run', 'build'], {stdio: ['pipe', 'pipe', 'pipe', 'ipc']});
+ await execa('npm', ['run', 'build'], {ipc: true});
- import {execaCommand} from 'execa';
+ import {execa} from 'execa';

- await execaCommand('npm run build');
+ await execa`npm run build`;

const taskName = 'build';
- await execaCommand(`npm run ${taskName}`);
+ await execa`npm run ${taskName}`;

const commandArguments = ['run', 'task with space'];
await execa`npm ${commandArguments}`;

If the file and/or multiple arguments are supplied as a single string, parseCommandString(command) can split that string into an array. More info. (#​1054)

- import {execaCommand} from 'execa';
+ import {execa, parseCommandString} from 'execa';

const commandString = 'npm run task';
- await execaCommand(commandString);
+ const commandArray = parseCommandString(commandString); // ['npm', 'run', 'task']
+ await execa`${commandArray}`;

// Or alternatively:
const [file, ...commandArguments] = commandArray;
await execa(file, commandArguments);
Features
Types
Bug fixes

v9.1.0

Compare Source

Features (types)

v9.0.2

Compare Source

Bug fixes (types)

v9.0.1

Compare Source

Bug fixes (types)

v9.0.0

Compare Source

This major release brings many important features including:

Please check the release post for a high-level overview! For the full list of breaking changes, features and bug fixes, please read below.

Thanks @​younggglcy, @​koshic, @​am0o0 and @​codesmith-emmy for your help!


One of the maintainers @​ehmicky is looking for a remote full-time position. Specialized in Node.js back-ends and CLIs, he led Netlify Build, Plugins and Configuration for 2.5 years. Feel free to contact him on his website or on LinkedIn!


Breaking changes (not types)

const {stdout} = await execa('node', ['file.js'], {encoding: 'buffer'});
console.log(stdout); // This is now an Uint8Array
- await execa('node', ['file.js'], {encoding: null});
+ await execa('node', ['file.js'], {encoding: 'buffer'});

- await execa('node', ['file.js'], {encoding: 'utf-8'});
+ await execa('node', ['file.js'], {encoding: 'utf8'});

- await execa('node', ['file.js'], {encoding: 'UTF8'});
+ await execa('node', ['file.js'], {encoding: 'utf8'});

- await execa('node', ['file.js'], {encoding: 'utf-16le'});
+ await execa('node', ['file.js'], {encoding: 'utf16le'});

- await execa('node', ['file.js'], {encoding: 'ucs2'});
+ await execa('node', ['file.js'], {encoding: 'utf16le'});

- await execa('node', ['file.js'], {encoding: 'ucs-2'});
+ await execa('node', ['file.js'], {encoding: 'utf16le'});

- await execa('node', ['file.js'], {encoding: 'binary'});
+ await execa('node', ['file.js'], {encoding: 'latin1'});
  • Passing a file path to subprocess.pipeStdout(), subprocess.pipeStderr() and subprocess.pipeAll() has been removed. Instead, a {file: './path'} object should be passed to the stdout or stderr option. (#​752)
- await execa('node', ['file.js']).pipeStdout('output.txt');
+ await execa('node', ['file.js'], {stdout: {file: 'output.txt'}});

- await execa('node', ['file.js']).pipeStderr('output.txt');
+ await execa('node', ['file.js'], {stderr: {file: 'output.txt'}});

- await execa('node', ['file.js']).pipeAll('output.txt');
+ await execa('node', ['file.js'], {
+	stdout: {file: 'output.txt'},
+	stderr: {file: 'output.txt'},
+});
- await execa('node', ['file.js']).pipeStdout(stream);
+ await execa('node', ['file.js'], {stdout: ['pipe', stream]});

- await execa('node', ['file.js']).pipeStderr(stream);
+ await execa('node', ['file.js'], {stderr: ['pipe', stream]});

- await execa('node', ['file.js']).pipeAll(stream);
+ await execa('node', ['file.js'], {
+	stdout: ['pipe', stream],
+	stderr: ['pipe', stream],
+});
  • The subprocess.pipeStdout(), subprocess.pipeStderr() and subprocess.pipeAll() methods have been renamed to subprocess.pipe(). The command and its arguments can be passed to subprocess.pipe() directly, without calling execa() a second time. The from piping option can specify 'stdout' (the default value), 'stderr' or 'all'. (#​757)
- await execa('node', ['file.js']).pipeStdout(execa('node', ['other.js']));
+ await execa('node', ['file.js']).pipe('node', ['other.js']);

- await execa('node', ['file.js']).pipeStderr(execa('node', ['other.js']));
+ await execa('node', ['file.js']).pipe('node', ['other.js'], {from: 'stderr'});

- await execa('node', ['file.js']).pipeAll(execa('node', ['other.js']));
+ await execa('node', ['file.js']).pipe('node', ['other.js'], {from: 'all'});
- await execa('node', ['file.js'], {signal: abortController.signal});
+ await execa('node', ['file.js'], {cancelSignal: abortController.signal});
try {
	await execa('node', ['file.js']);
} catch (error) {
- if (error.killed) {
+ if (error.isTerminated) {
		// ...
	}
}
- subprocess.cancel();
+ subprocess.kill();
- const subprocess = execa('node', ['file.js']);
- subprocess.kill('SIGTERM', {forceKillAfterTimeout: 1000});
+ const subprocess = execa('node', ['file.js'], {forceKillAfterDelay: 1000});
+ subprocess.kill('SIGTERM');
  • The verbose option is now a string enum instead of a boolean. false has been renamed to 'none' and true has been renamed to 'short'. (#​884)
- await execa('node', ['file.js'], {verbose: false});
+ await execa('node', ['file.js'], {verbose: 'none'});

- await execa('node', ['file.js'], {verbose: true});
+ await execa('node', ['file.js'], {verbose: 'short'});
- await execa('node', ['file.js'], {execPath: './path/to/node'});
+ await execa('node', ['file.js'], {nodePath: './path/to/node'});
- subprocess.send({example: true, getExample() {}});
+ subprocess.send({example: true});
const subprocess = execa('node', ['file.js']);
- setTimeout(() => {
	subprocess.stdout.pipe(process.stdout);
- }, 0);
- const subprocess = execa('node', ['file.js'], {killSignal: 'sigterm'});
+ const subprocess = execa('node', ['file.js'], {killSignal: 'SIGTERM'});

- subprocess.kill('sigterm');
+ subprocess.kill('SIGTERM');

Features

Execution
Text lines
Piping multiple subprocesses
Input/output
Streams
Verbose mode
Debugging
Errors
Termination
Node.js files
Synchronous execution
Inter-process communication
Input validation

Bug fixes

  • Fixed passing undefined values as options. This now uses the option's default value. (#​712)
  • Fixed the process crashing when the inputFile option points to a missing file. (#​609)
  • Fixed the process crashing when the buffer option is false and [subprocess.stdout]

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel

vercel Bot commented May 29, 2024

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
fnm Ready Ready Preview, Comment Apr 17, 2026 10:32pm

@renovate renovate Bot added the PR: Dependency Update A dependency was updated label May 29, 2024
@renovate renovate Bot enabled auto-merge (squash) May 29, 2024 11:54
@changeset-bot

changeset-bot Bot commented May 29, 2024

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: b549d66

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from b3606fb to 7081004 Compare May 29, 2024 11:58
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 7081004 to d774b09 Compare May 29, 2024 11:58
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from d774b09 to bce1a5d Compare May 29, 2024 11:59
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from bce1a5d to 1126ce1 Compare May 29, 2024 14:56
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 1126ce1 to 9168948 Compare May 29, 2024 15:10
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 9168948 to c2c8590 Compare May 29, 2024 15:27
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from c2c8590 to 7d0d87d Compare May 29, 2024 16:04
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 7d0d87d to dbe15c9 Compare May 29, 2024 16:45
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from dbe15c9 to 7a81ece Compare May 29, 2024 16:49
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 7a81ece to 6d55414 Compare May 30, 2024 03:41
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 6d55414 to 7a956ae Compare June 1, 2024 22:18
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 7a956ae to df008e2 Compare June 4, 2024 07:13
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from df008e2 to f825e11 Compare June 4, 2024 07:16
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 7a76cc8 to 6b7cc39 Compare June 13, 2024 11:25
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 6b7cc39 to 156bf47 Compare June 13, 2024 11:29
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 156bf47 to 6dcc830 Compare June 16, 2024 21:59
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 6dcc830 to 7191129 Compare June 17, 2024 21:36
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 7191129 to ab19dbe Compare June 18, 2024 04:47
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from ab19dbe to 65148f3 Compare June 21, 2024 18:45
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 65148f3 to ff1980b Compare June 30, 2024 04:46
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from ff1980b to 604a086 Compare June 30, 2024 06:51
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 604a086 to 8673b14 Compare July 6, 2024 13:36
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 8673b14 to d47ac86 Compare August 1, 2024 10:39
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from d47ac86 to 1a80d75 Compare August 1, 2024 12:23
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 1a80d75 to 33cfb13 Compare August 11, 2024 06:47
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 33cfb13 to 2ef2299 Compare August 11, 2024 06:48
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 2ef2299 to 0ca19ee Compare August 11, 2024 06:55
@renovate renovate Bot force-pushed the renovate/major-all-dev-dependencies branch from 0ca19ee to 894ee7e Compare August 11, 2024 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Dependency Update A dependency was updated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants