File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
shadow/npm/arborist/lib/arborist Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ const {
16
16
SOCKET_SECURITY_SCOPE ,
17
17
kInternalsSymbol,
18
18
[ kInternalsSymbol as unknown as 'Symbol(kInternalsSymbol)' ] : {
19
- createConstantsObject
19
+ createConstantsObject,
20
+ getIpc
20
21
}
21
22
} = registryConstants
22
23
@@ -27,9 +28,9 @@ type RegistryInternals = (typeof registryConstants)['Symbol(kInternalsSymbol)']
27
28
type Sentry = any
28
29
29
30
type Internals = Remap <
30
- Omit < RegistryInternals , 'getIPC ' > &
31
+ Omit < RegistryInternals , 'getIpc ' > &
31
32
Readonly < {
32
- getIPC : {
33
+ getIpc : {
33
34
( ) : Promise < IPC >
34
35
< K extends keyof IPC | undefined > (
35
36
key ?: K | undefined
@@ -402,6 +403,7 @@ const constants = createConstantsObject(
402
403
zshRcPath : lazyZshRcPath
403
404
} ,
404
405
internals : {
406
+ getIpc,
405
407
getSentry ( ) {
406
408
return _Sentry
407
409
} ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const {
16
16
NPX ,
17
17
SOCKET_CLI_SAFE_WRAPPER ,
18
18
kInternalsSymbol,
19
- [ kInternalsSymbol as unknown as 'Symbol(kInternalsSymbol)' ] : { getIPC }
19
+ [ kInternalsSymbol as unknown as 'Symbol(kInternalsSymbol)' ] : { getIpc }
20
20
} = constants
21
21
22
22
export const SAFE_ARBORIST_REIFY_OPTIONS_OVERRIDES = {
@@ -86,7 +86,7 @@ export class SafeArborist extends Arborist {
86
86
} as ArboristReifyOptions
87
87
const safeWrapperName = options . dryRun
88
88
? undefined
89
- : await getIPC ( SOCKET_CLI_SAFE_WRAPPER )
89
+ : await getIpc ( SOCKET_CLI_SAFE_WRAPPER )
90
90
const isSafeNpm = safeWrapperName === NPM
91
91
const isSafeNpx = safeWrapperName === NPX
92
92
if ( ! safeWrapperName || ( isSafeNpx && options [ 'yes' ] ) ) {
You can’t perform that action at this time.
0 commit comments