Skip to content

Commit 4d902af

Browse files
committed
Fix dependencies imports to use explicit submodules
1 parent b457896 commit 4d902af

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

registry/src/lib/bin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
import ENV from './constants/ENV'
7-
import { getWhich as getWhichDep } from './dependencies/index'
7+
import { getWhich as getWhichDep } from './dependencies/system'
88
import { readJsonSync } from './fs'
99
import { getOwn } from './objects'
1010
import { isPath, normalizePath } from './path'

registry/src/lib/cacache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @fileoverview Cacache utilities for Socket ecosystem shared content-addressable cache. */
22

3-
import { getCacache as getCacacheDep } from './dependencies/index'
3+
import { getCacache as getCacacheDep } from './dependencies/file-system'
44
import { getSocketCacacheDir } from './paths'
55

66
export interface GetOptions {

registry/src/lib/debug.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
getIsUnicodeSupported,
1010
getLogger,
1111
getSpinner,
12-
} from './dependencies/index'
12+
} from './dependencies/logging'
1313
import { hasOwn } from './objects'
1414
import { applyLinePrefix } from './strings'
1515

registry/src/lib/globs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import {
88
getFastGlob as getFastGlobDep,
99
getPicomatch as getPicomatchDep,
10-
} from './dependencies/index'
10+
} from './dependencies/file-system'
1111
// tsgo has a bug that incorrectly transpiles destructured exports, resulting in
1212
// `exports.SomeName = void 0;` which causes runtime errors.
1313
// See: https://github.com/SocketDev/socket-packageurl-js/issues/3

registry/src/lib/sorts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Provides various comparison utilities for arrays and collections.
44
*/
55

6-
import { getFastSort, getSemver } from './dependencies/index'
6+
import { getFastSort, getSemver } from './dependencies/build-tools'
77

88
let _localeCompare: ((x: string, y: string) => number) | undefined
99
/**

registry/src/lib/streams.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @fileoverview Stream processing utilities with streaming-iterables integration.
33
* Provides async stream handling and transformation functions.
44
*/
5-
import { getStreamingIterables as getStreamingIterablesDep } from './dependencies/index'
5+
import { getStreamingIterables as getStreamingIterablesDep } from './dependencies/system'
66
import { normalizeIterationOptions, pRetry } from './promises'
77

88
import type { IterationOptions } from './promises'

0 commit comments

Comments
 (0)