find-packages
Advanced tools
Comparing version 8.0.5 to 8.0.6
@@ -22,8 +22,8 @@ "use strict"; | ||
const patterns = normalizePatterns((opts.patterns != null) ? opts.patterns : ['.', '**']); | ||
const paths = await fast_glob_1.default(patterns, globOpts); | ||
const paths = await (0, fast_glob_1.default)(patterns, globOpts); | ||
if (opts.includeRoot) { | ||
// Always include the workspace root (https://github.com/pnpm/pnpm/issues/1986) | ||
Array.prototype.push.apply(paths, await fast_glob_1.default(normalizePatterns(['.']), globOpts)); | ||
Array.prototype.push.apply(paths, await (0, fast_glob_1.default)(normalizePatterns(['.']), globOpts)); | ||
} | ||
return p_filter_1.default( | ||
return (0, p_filter_1.default)( | ||
// `Array.from()` doesn't create an intermediate instance, | ||
@@ -39,6 +39,6 @@ // unlike `array.map()` | ||
dir: path_1.default.dirname(manifestPath), | ||
...await read_project_manifest_1.readExactProjectManifest(manifestPath), | ||
...await (0, read_project_manifest_1.readExactProjectManifest)(manifestPath), | ||
}; | ||
} | ||
catch (err) { | ||
catch (err) { // eslint-disable-line | ||
if (err.code === 'ENOENT') { | ||
@@ -45,0 +45,0 @@ return null; |
{ | ||
"name": "find-packages", | ||
"version": "8.0.5", | ||
"version": "8.0.6", | ||
"description": "Find all packages inside a directory", | ||
@@ -13,2 +13,3 @@ "main": "lib/index.js", | ||
"keywords": [ | ||
"pnpm6", | ||
"find", | ||
@@ -26,4 +27,4 @@ "package" | ||
"dependencies": { | ||
"@pnpm/read-project-manifest": "2.0.5", | ||
"@pnpm/types": "7.4.0", | ||
"@pnpm/read-project-manifest": "2.0.6", | ||
"@pnpm/types": "7.5.0", | ||
"fast-glob": "^3.2.4", | ||
@@ -34,3 +35,3 @@ "p-filter": "^2.1.0" | ||
"scripts": { | ||
"lint": "eslint -c ../../eslint.json src/**/*.ts test/**/*.ts", | ||
"lint": "eslint src/**/*.ts test/**/*.ts", | ||
"_test": "jest", | ||
@@ -37,0 +38,0 @@ "test": "pnpm run compile && pnpm run _test", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
8318
1
+ Added@pnpm/read-project-manifest@2.0.6(transitive)
+ Added@pnpm/types@7.5.0(transitive)
+ Added@pnpm/write-project-manifest@2.0.5(transitive)
- Removed@pnpm/read-project-manifest@2.0.5(transitive)
- Removed@pnpm/types@7.4.0(transitive)
- Removed@pnpm/write-project-manifest@2.0.4(transitive)
Updated@pnpm/types@7.5.0