@pnpm/fs.find-packages
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -9,2 +9,3 @@ import { type ProjectManifest } from '@pnpm/types'; | ||
dir: string; | ||
dirRealPath: string; | ||
manifest: ProjectManifest; | ||
@@ -11,0 +12,0 @@ writeProjectManifest: (manifest: ProjectManifest, force?: boolean | undefined) => Promise<void>; |
@@ -7,2 +7,3 @@ "use strict"; | ||
exports.findPackages = void 0; | ||
const fs_1 = require("fs"); | ||
const path_1 = __importDefault(require("path")); | ||
@@ -39,4 +40,6 @@ const util_1 = __importDefault(require("util")); | ||
try { | ||
const dir = path_1.default.dirname(manifestPath); | ||
return { | ||
dir: path_1.default.dirname(manifestPath), | ||
dir, | ||
dirRealPath: await fs_1.promises.realpath(dir), | ||
...await (0, read_project_manifest_1.readExactProjectManifest)(manifestPath), | ||
@@ -43,0 +46,0 @@ }; |
{ | ||
"name": "@pnpm/fs.find-packages", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Find all packages inside a directory", | ||
@@ -29,8 +29,8 @@ "main": "lib/index.js", | ||
"p-filter": "^2.1.0", | ||
"@pnpm/read-project-manifest": "6.0.2", | ||
"@pnpm/types": "10.1.0" | ||
"@pnpm/types": "10.1.1", | ||
"@pnpm/read-project-manifest": "6.0.3" | ||
}, | ||
"funding": "https://opencollective.com/pnpm", | ||
"devDependencies": { | ||
"@pnpm/fs.find-packages": "3.0.2" | ||
"@pnpm/fs.find-packages": "3.0.3" | ||
}, | ||
@@ -37,0 +37,0 @@ "exports": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8868
78
2
+ Added@pnpm/read-project-manifest@6.0.3(transitive)
+ Added@pnpm/types@10.1.1(transitive)
+ Added@pnpm/write-project-manifest@6.0.2(transitive)
- Removed@pnpm/read-project-manifest@6.0.2(transitive)
- Removed@pnpm/types@10.1.0(transitive)
- Removed@pnpm/write-project-manifest@6.0.1(transitive)
Updated@pnpm/types@10.1.1