Skip to content

Commit

Permalink
chore(deps): Bump process from 4.2.4 to 5.0.0 in /actions (#3659)
Browse files Browse the repository at this point in the history
* chore(deps): Bump process from 4.2.4 to 5.0.0 in /actions

Bumps [process](https://github.com/google/process.dart) from 4.2.4 to 5.0.0.
- [Release notes](https://github.com/google/process.dart/releases)
- [Changelog](https://github.com/google/process.dart/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/process.dart/commits)

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

Signed-off-by: dependabot[bot] <[email protected]>

* chore(actions): Update process manager interface

For conformance to `package:process` v5.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dillon Nys <[email protected]>
  • Loading branch information
dependabot[bot] and Dillon Nys authored Aug 31, 2023
1 parent 9f4976b commit 79a79d7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions actions/lib/src/node/process_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,13 @@ final class NodeProcessManager implements Closeable, ProcessManager {
Map<String, String>? environment,
bool includeParentEnvironment = true,
bool runInShell = false,
Encoding stdoutEncoding = const Utf8Codec(allowMalformed: true),
Encoding stderrEncoding = const Utf8Codec(allowMalformed: true),
Encoding? stdoutEncoding,
Encoding? stderrEncoding,
NodeChildProcess? pipe,
bool echoOutput = false,
}) async {
stdoutEncoding ??= const Utf8Codec(allowMalformed: true);
stderrEncoding ??= const Utf8Codec(allowMalformed: true);
final process = await start(
command,
workingDirectory: workingDirectory,
Expand Down Expand Up @@ -101,10 +103,12 @@ final class NodeProcessManager implements Closeable, ProcessManager {
Map<String, String>? environment,
bool includeParentEnvironment = true,
bool runInShell = false,
Encoding stdoutEncoding = const Utf8Codec(allowMalformed: true),
Encoding stderrEncoding = const Utf8Codec(allowMalformed: true),
Encoding? stdoutEncoding,
Encoding? stderrEncoding,
bool echoOutput = false,
}) {
stdoutEncoding ??= const Utf8Codec(allowMalformed: true);
stderrEncoding ??= const Utf8Codec(allowMalformed: true);
final [executable, ...args] = command.cast<String>();
final result = childProcess.execSync(
executable,
Expand Down
2 changes: 1 addition & 1 deletion actions/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
js: ^0.6.7
json_annotation: ">=4.8.1 <4.9.0"
path: ^1.8.3
process: ^4.2.4
process: ^5.0.0
retry: ^3.1.2
source_map_stack_trace: ^2.1.1
source_maps: ^0.10.12
Expand Down

0 comments on commit 79a79d7

Please sign in to comment.