File tree Expand file tree Collapse file tree
shadow/npm/arborist/lib/arborist Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ const {
1616 SOCKET_SECURITY_SCOPE ,
1717 kInternalsSymbol,
1818 [ kInternalsSymbol as unknown as 'Symbol(kInternalsSymbol)' ] : {
19- createConstantsObject
19+ createConstantsObject,
20+ getIpc
2021 }
2122} = registryConstants
2223
@@ -27,9 +28,9 @@ type RegistryInternals = (typeof registryConstants)['Symbol(kInternalsSymbol)']
2728type Sentry = any
2829
2930type Internals = Remap <
30- Omit < RegistryInternals , 'getIPC ' > &
31+ Omit < RegistryInternals , 'getIpc ' > &
3132 Readonly < {
32- getIPC : {
33+ getIpc : {
3334 ( ) : Promise < IPC >
3435 < K extends keyof IPC | undefined > (
3536 key ?: K | undefined
@@ -402,6 +403,7 @@ const constants = createConstantsObject(
402403 zshRcPath : lazyZshRcPath
403404 } ,
404405 internals : {
406+ getIpc,
405407 getSentry ( ) {
406408 return _Sentry
407409 } ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const {
1616 NPX ,
1717 SOCKET_CLI_SAFE_WRAPPER ,
1818 kInternalsSymbol,
19- [ kInternalsSymbol as unknown as 'Symbol(kInternalsSymbol)' ] : { getIPC }
19+ [ kInternalsSymbol as unknown as 'Symbol(kInternalsSymbol)' ] : { getIpc }
2020} = constants
2121
2222export const SAFE_ARBORIST_REIFY_OPTIONS_OVERRIDES = {
@@ -86,7 +86,7 @@ export class SafeArborist extends Arborist {
8686 } as ArboristReifyOptions
8787 const safeWrapperName = options . dryRun
8888 ? undefined
89- : await getIPC ( SOCKET_CLI_SAFE_WRAPPER )
89+ : await getIpc ( SOCKET_CLI_SAFE_WRAPPER )
9090 const isSafeNpm = safeWrapperName === NPM
9191 const isSafeNpx = safeWrapperName === NPX
9292 if ( ! safeWrapperName || ( isSafeNpx && options [ 'yes' ] ) ) {
You can’t perform that action at this time.
0 commit comments