Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update devdependencies (major) (major) #1055

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 24, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@​types/faker ^5.1.5 -> ^6.0.0 age adoption passing confidence
@types/jest (source) 26.0.20 -> 29.5.12 age adoption passing confidence
@types/node (source) 14.14.20 -> 22.5.0 age adoption passing confidence
@​types/prettier 2.1.6 -> 3.0.0 age adoption passing confidence
@types/ws (source) ^7.4.0 -> ^8.0.0 age adoption passing confidence
execa ^5.0.0 -> ^9.0.0 age adoption passing confidence
faker ^5.1.0 -> ^6.0.0 age adoption passing confidence
get-port 5.1.1 -> 7.1.0 age adoption passing confidence
graphql 15.4.0 -> 16.9.0 age adoption passing confidence
graphql-request 3.4.0 -> 7.1.0 age adoption passing confidence
graphql-yoga (source) 1.18.3 -> 5.7.0 age adoption passing confidence
jest (source) 26.6.3 -> 29.7.0 age adoption passing confidence
jest-watch-typeahead 0.6.1 -> 2.2.2 age adoption passing confidence
prettier (source) 2.2.1 -> 3.3.3 age adoption passing confidence
prettier (source) ^2.2.1 -> ^3.0.0 age adoption passing confidence
prisma (source) ^2.18.0 -> ^5.0.0 age adoption passing confidence
prisma (source) ^2.19.0 -> ^5.0.0 age adoption passing confidence
prisma (source) 2.21.x -> 5.19.x age adoption passing confidence
strip-ansi 6.0.0 -> 7.1.0 age adoption passing confidence
ts-jest (source) 26.4.4 -> 29.2.5 age adoption passing confidence
ts-morph 9.1.0 -> 23.0.0 age adoption passing confidence
ts-node (source) 9.1.1 -> 10.9.2 age adoption passing confidence
ts-node (source) ^9.1.1 -> ^10.0.0 age adoption passing confidence
ts-node-dev ^1.1.1 -> ^2.0.0 age adoption passing confidence
typescript (source) 4.1.3 -> 5.5.4 age adoption passing confidence
typescript (source) ^4.1.3 -> ^5.0.0 age adoption passing confidence

Release Notes

sindresorhus/execa (execa)

v9.3.1

Compare Source

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

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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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.

@renovate renovate bot added the type/chore Something that does not warrant a release, zero runtime impact label Feb 24, 2021
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch from ebaea85 to c15408f Compare February 24, 2021 21:15
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch from c15408f to 32cf943 Compare March 9, 2021 14:07
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch 2 times, most recently from cccc35c to 5e8b094 Compare March 22, 2021 22:56
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch 4 times, most recently from 8d2e9d8 to 9f2b195 Compare April 15, 2021 17:37
@renovate renovate bot changed the title chore(deps): update dependency ts-morph to v10 chore(deps): update devdependencies (major) (major) Apr 16, 2021
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch from 9f2b195 to 7864e8f Compare April 16, 2021 10:03
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch 2 times, most recently from 3225443 to f29461c Compare April 27, 2021 14:49
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch from f29461c to 3df1dbb Compare May 5, 2021 01:38
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch 3 times, most recently from 8aa185c to 8376bfd Compare May 15, 2021 17:33
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch 13 times, most recently from 6ab9a9b to 0ef95ac Compare May 25, 2021 12:36
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch 4 times, most recently from f1bfc3c to bb50c43 Compare July 5, 2024 21:06
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch 4 times, most recently from 937fe91 to 1cf27eb Compare July 13, 2024 14:08
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch 5 times, most recently from 45b50e9 to 1f3a792 Compare July 23, 2024 00:12
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch 3 times, most recently from 7e67b90 to 247fce3 Compare July 28, 2024 10:56
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch 5 times, most recently from ed4644f to 3304fd0 Compare August 6, 2024 15:17
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch 3 times, most recently from dd27e68 to c63af1f Compare August 16, 2024 05:36
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch 3 times, most recently from f03f157 to af4c96e Compare August 23, 2024 20:42
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch from af4c96e to d8b27a1 Compare August 27, 2024 16:40
@renovate renovate bot force-pushed the renovate/major-devdependencies-(major) branch from d8b27a1 to e777f58 Compare August 28, 2024 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/chore Something that does not warrant a release, zero runtime impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants