@pnpm/real-hoist
Advanced tools
Comparing version 900.0.0 to 1000.0.0
import { type Lockfile } from '@pnpm/lockfile.utils'; | ||
import { type HoisterResult } from '@yarnpkg/nm'; | ||
import { type HoisterResult } from '@yarnpkg/nm/hoist'; | ||
export type HoistingLimits = Map<string, Set<string>>; | ||
@@ -4,0 +4,0 @@ export type { HoisterResult }; |
@@ -30,3 +30,3 @@ "use strict"; | ||
const dp = __importStar(require("@pnpm/dependency-path")); | ||
const nm_1 = require("@yarnpkg/nm"); | ||
const hoist_1 = require("@yarnpkg/nm/hoist"); | ||
function hoist(lockfile, opts) { | ||
@@ -46,3 +46,3 @@ const nodes = new Map(); | ||
peerNames: new Set([]), | ||
dependencyKind: nm_1.HoisterDependencyKind.WORKSPACE, | ||
dependencyKind: hoist_1.HoisterDependencyKind.WORKSPACE, | ||
dependencies: _toTree({ | ||
@@ -69,3 +69,3 @@ ...lockfile.importers['.']?.dependencies, | ||
peerNames: new Set([]), | ||
dependencyKind: nm_1.HoisterDependencyKind.WORKSPACE, | ||
dependencyKind: hoist_1.HoisterDependencyKind.WORKSPACE, | ||
dependencies: _toTree({ | ||
@@ -79,3 +79,3 @@ ...importer.dependencies, | ||
} | ||
const hoisterResult = (0, nm_1.hoist)(node, opts); | ||
const hoisterResult = (0, hoist_1.hoist)(node, opts); | ||
if (opts?.externalDependencies) { | ||
@@ -101,3 +101,3 @@ for (const hoistedDep of hoisterResult.dependencies.values()) { | ||
reference: ref, | ||
dependencyKind: nm_1.HoisterDependencyKind.REGULAR, | ||
dependencyKind: hoist_1.HoisterDependencyKind.REGULAR, | ||
dependencies: new Set(), | ||
@@ -126,3 +126,3 @@ peerNames: new Set(), | ||
reference: depPathByPkgId.get(id), | ||
dependencyKind: nm_1.HoisterDependencyKind.REGULAR, | ||
dependencyKind: hoist_1.HoisterDependencyKind.REGULAR, | ||
dependencies: new Set(), | ||
@@ -129,0 +129,0 @@ peerNames: new Set(autoInstallPeers |
{ | ||
"name": "@pnpm/real-hoist", | ||
"description": "Hoists dependencies in a node_modules created by pnpm", | ||
"version": "900.0.0", | ||
"version": "1000.0.0", | ||
"bugs": { | ||
@@ -16,3 +16,3 @@ "url": "https://github.com/pnpm/pnpm/issues" | ||
"keywords": [ | ||
"pnpm9", | ||
"pnpm10", | ||
"pnpm" | ||
@@ -26,13 +26,13 @@ ], | ||
"dependencies": { | ||
"@yarnpkg/nm": "4.0.2", | ||
"@pnpm/dependency-path": "900.0.0", | ||
"@pnpm/error": "900.0.0", | ||
"@pnpm/lockfile.utils": "900.0.0" | ||
"@yarnpkg/nm": "4.0.5", | ||
"@pnpm/dependency-path": "1000.0.0", | ||
"@pnpm/error": "1000.0.0", | ||
"@pnpm/lockfile.utils": "1000.0.0" | ||
}, | ||
"funding": "https://opencollective.com/pnpm", | ||
"devDependencies": { | ||
"@pnpm/lockfile.fs": "900.0.0", | ||
"@pnpm/real-hoist": "900.0.0", | ||
"@pnpm/types": "900.0.0", | ||
"@pnpm/test-fixtures": "0.1.35" | ||
"@pnpm/test-fixtures": "0.1.36", | ||
"@pnpm/lockfile.fs": "1000.0.0", | ||
"@pnpm/real-hoist": "1000.0.0", | ||
"@pnpm/types": "1000.0.0" | ||
}, | ||
@@ -39,0 +39,0 @@ "exports": { |
Sorry, the diff of this file is not supported yet
12350
+ Added@pnpm/constants@1000.0.0(transitive)
+ Added@pnpm/crypto.hash@1000.0.0(transitive)
+ Added@pnpm/crypto.polyfill@1000.0.0(transitive)
+ Added@pnpm/dependency-path@1000.0.0(transitive)
+ Added@pnpm/error@1000.0.0(transitive)
+ Added@pnpm/lockfile.types@1000.0.0(transitive)
+ Added@pnpm/lockfile.utils@1000.0.0(transitive)
+ Added@pnpm/patching.types@1000.0.0(transitive)
+ Added@pnpm/pick-fetcher@1000.0.0(transitive)
+ Added@pnpm/resolver-base@1000.0.0(transitive)
+ Added@pnpm/types@1000.0.0(transitive)
+ Added@yarnpkg/nm@4.0.5(transitive)
- Removed@pnpm/constants@900.0.0(transitive)
- Removed@pnpm/crypto.base32-hash@900.0.0(transitive)
- Removed@pnpm/crypto.polyfill@900.0.0(transitive)
- Removed@pnpm/dependency-path@900.0.0(transitive)
- Removed@pnpm/error@900.0.0(transitive)
- Removed@pnpm/lockfile.types@900.0.0(transitive)
- Removed@pnpm/lockfile.utils@900.0.0(transitive)
- Removed@pnpm/patching.types@900.0.0(transitive)
- Removed@pnpm/pick-fetcher@900.0.0(transitive)
- Removed@pnpm/resolver-base@900.0.0(transitive)
- Removed@pnpm/types@900.0.0(transitive)
- Removed@yarnpkg/nm@4.0.2(transitive)
- Removedrfc4648@1.5.4(transitive)
Updated@pnpm/error@1000.0.0
Updated@yarnpkg/nm@4.0.5