@pnpm/fetching.directory-fetcher 1100.0.2 → 1100.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +4 -1
- package/package.json +6 -6
package/lib/index.js
CHANGED
|
@@ -10,7 +10,10 @@ export function createDirectoryFetcher(opts) {
|
|
|
10
10
|
const readFileStat = opts?.resolveSymlinks === true ? realFileStat : fileStat;
|
|
11
11
|
const fetchFromDir = opts?.includeOnlyPackageFiles ? fetchPackageFilesFromDir : fetchAllFilesFromDir.bind(null, readFileStat);
|
|
12
12
|
const directoryFetcher = (cafs, resolution, opts) => {
|
|
13
|
-
|
|
13
|
+
// Use path.resolve so absolute directories (e.g. cross-drive Windows paths
|
|
14
|
+
// stored by `file:` deps) are respected instead of being concatenated
|
|
15
|
+
// onto lockfileDir.
|
|
16
|
+
const dir = path.resolve(opts.lockfileDir, resolution.directory);
|
|
14
17
|
return fetchFromDir(dir);
|
|
15
18
|
};
|
|
16
19
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/fetching.directory-fetcher",
|
|
3
|
-
"version": "1100.0.
|
|
3
|
+
"version": "1100.0.4",
|
|
4
4
|
"description": "A fetcher for local directory packages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@pnpm/building.pkg-requires-build": "1100.0.1",
|
|
29
|
+
"@pnpm/fetching.fetcher-base": "1100.1.0",
|
|
29
30
|
"@pnpm/fs.packlist": "1100.0.0",
|
|
30
|
-
"@pnpm/resolving.resolver-base": "1100.0
|
|
31
|
-
"@pnpm/fetching.fetcher-base": "1100.0.1",
|
|
31
|
+
"@pnpm/resolving.resolver-base": "1100.1.0",
|
|
32
32
|
"@pnpm/store.cafs-types": "1100.0.0",
|
|
33
33
|
"@pnpm/workspace.project-manifest-reader": "1100.0.2",
|
|
34
34
|
"@pnpm/types": "1101.0.0"
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"@jest/globals": "30.3.0",
|
|
41
41
|
"@pnpm/util.lex-comparator": "^3.0.2",
|
|
42
42
|
"@zkochan/rimraf": "^4.0.0",
|
|
43
|
-
"@pnpm/
|
|
44
|
-
"@pnpm/
|
|
45
|
-
"@pnpm/
|
|
43
|
+
"@pnpm/fetching.directory-fetcher": "1100.0.4",
|
|
44
|
+
"@pnpm/test-fixtures": "1100.0.0",
|
|
45
|
+
"@pnpm/logger": "1100.0.0"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
48
|
"node": ">=22.13"
|