Skip to content

Commit 148e313

Browse files
Replace string-to-argv with string-argv
Co-Authored-By: Tsvetilian Yankov <9341546+tsvetilian-ty@users.noreply.github.com>
1 parent 8b082ab commit 148e313

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"react-virtualized": "^9.20.0",
5858
"registry-js": "^1.16.0",
5959
"source-map-support": "^0.4.15",
60-
"string-to-argv": "^1.0.0",
60+
"string-argv": "^0.3.2",
6161
"strip-ansi": "^4.0.0",
6262
"textarea-caret": "^3.0.2",
6363
"triple-beam": "^1.3.0",

app/src/lib/custom-integration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { parseCommandLineArgv } from 'windows-argv-parser'
2-
import parseArgvString from 'string-to-argv'
2+
import stringArgv from 'string-argv'
33
import { promisify } from 'util'
44
import { exec } from 'child_process'
55
import { access, stat } from 'fs/promises'
@@ -28,7 +28,7 @@ export interface ICustomIntegration {
2828
export function parseCustomIntegrationArguments(
2929
args: string
3030
): ReadonlyArray<string> {
31-
return __WIN32__ ? parseCommandLineArgv(args) : parseArgvString(args)
31+
return __WIN32__ ? parseCommandLineArgv(args) : stringArgv(args)
3232
}
3333

3434
// Function to retrieve, on macOS, the bundleId of an app given its path

app/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,10 +1302,10 @@ stack-trace@0.0.x:
13021302
resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0"
13031303
integrity sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=
13041304

1305-
string-to-argv@^1.0.0:
1306-
version "1.0.0"
1307-
resolved "https://registry.yarnpkg.com/string-to-argv/-/string-to-argv-1.0.0.tgz#b45eb19c808ba6231d1c63169e7325d5879de297"
1308-
integrity sha512-nr0PF3/gvxMGiP8XmRGWs8DEJkK/b+dcHi8Mscs5ruuCrgKXQjE0rhSCWOwNYQBjgDedr4wXEpSOwf1M/JiG3Q==
1305+
string-argv@^0.3.2:
1306+
version "0.3.2"
1307+
resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.2.tgz#2b6d0ef24b656274d957d54e0a4bbf6153dc02b6"
1308+
integrity sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==
13091309

13101310
string-width@^1.0.1:
13111311
version "1.0.2"

0 commit comments

Comments
 (0)