Skip to content

Commit dbbda43

Browse files
committed
deps: @npmcli/[email protected]
This also removes any setting of `stdioString` since `true` is the default now.
1 parent 62d9360 commit dbbda43

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

lib/dir.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ class DirFetcher extends Fetcher {
4949
pkg: mani,
5050
event: 'prepare',
5151
path: this.resolved,
52-
stdioString: true,
5352
stdio,
5453
banner,
5554
env: {

lib/util/npm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ module.exports = (npmBin, npmCommand, cwd, env, extra) => {
1010
// in temp directories. this lets us link previously-seen repos that
1111
// are also being prepared.
1212

13-
return spawn(cmd, args, { cwd, stdioString: true, env }, extra)
13+
return spawn(cmd, args, { cwd, env }, extra)
1414
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@npmcli/git": "^4.0.0",
4848
"@npmcli/installed-package-contents": "^2.0.1",
4949
"@npmcli/promise-spawn": "^6.0.1",
50-
"@npmcli/run-script": "^5.0.0",
50+
"@npmcli/run-script": "^6.0.0",
5151
"cacache": "^17.0.0",
5252
"fs-minipass": "^2.1.0",
5353
"minipass": "^3.1.6",

tap-snapshots/test/util/npm.js.test.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Object {
1616
"message": "oopsie",
1717
"signal": undefined,
1818
"stderr": "",
19-
"stdout": "[\\"{NODE}\\",[\\"/path/to/npm/bin/npm-cli.js\\",\\"flerb\\"],{\\"cwd\\":\\"/cwd\\",\\"stdioString\\":true,\\"env\\":{\\"environmental\\":\\"variables\\"}}]",
19+
"stdout": "[\\"{NODE}\\",[\\"/path/to/npm/bin/npm-cli.js\\",\\"flerb\\"],{\\"cwd\\":\\"/cwd\\",\\"env\\":{\\"environmental\\":\\"variables\\"}}]",
2020
}
2121
`
2222

@@ -30,6 +30,6 @@ Object {
3030
"message": "oopsie",
3131
"signal": undefined,
3232
"stderr": "",
33-
"stdout": "[\\"/path/to/npm\\",[\\"flerb\\"],{\\"cwd\\":\\"/cwd\\",\\"stdioString\\":true,\\"env\\":{\\"environmental\\":\\"variables\\"}}]",
33+
"stdout": "[\\"/path/to/npm\\",[\\"flerb\\"],{\\"cwd\\":\\"/cwd\\",\\"env\\":{\\"environmental\\":\\"variables\\"}}]",
3434
}
3535
`

0 commit comments

Comments
 (0)