pkgs-graph
Advanced tools
Comparing version 6.1.3 to 7.0.0
@@ -23,3 +23,3 @@ "use strict"; | ||
const dependencies = { | ||
...(!(opts === null || opts === void 0 ? void 0 : opts.ignoreDevDeps) && pkg.manifest.devDependencies), | ||
...(!opts?.ignoreDevDeps && pkg.manifest.devDependencies), | ||
...pkg.manifest.optionalDependencies, | ||
@@ -61,3 +61,3 @@ ...pkg.manifest.dependencies, | ||
// explicitly check if false, backwards-compatibility (can be undefined) | ||
const strictWorkspaceMatching = (opts === null || opts === void 0 ? void 0 : opts.linkWorkspacePackages) === false && !isWorkspaceSpec; | ||
const strictWorkspaceMatching = opts?.linkWorkspacePackages === false && !isWorkspaceSpec; | ||
if (strictWorkspaceMatching) { | ||
@@ -64,0 +64,0 @@ unmatched.push({ pkgName: depName, range: rawSpec }); |
{ | ||
"name": "pkgs-graph", | ||
"version": "6.1.3", | ||
"version": "7.0.0", | ||
"description": "Create a graph from an array of packages", | ||
@@ -11,6 +11,6 @@ "main": "lib/index.js", | ||
], | ||
"repository": "https://github.com/pnpm/pnpm/blob/master/packages/pkgs-graph", | ||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/pkgs-graph", | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=12.17" | ||
"node": ">=14.19" | ||
}, | ||
@@ -20,9 +20,10 @@ "bugs": { | ||
}, | ||
"homepage": "https://github.com/pnpm/pnpm/blob/master/packages/pkgs-graph#readme", | ||
"homepage": "https://github.com/pnpm/pnpm/blob/main/packages/pkgs-graph#readme", | ||
"devDependencies": { | ||
"@types/ramda": "0.27.39", | ||
"better-path-resolve": "1.0.0" | ||
"better-path-resolve": "1.0.0", | ||
"pkgs-graph": "7.0.0" | ||
}, | ||
"dependencies": { | ||
"@pnpm/resolve-workspace-range": "2.1.0", | ||
"@pnpm/resolve-workspace-range": "3.0.0", | ||
"@zkochan/npm-package-arg": "^2.0.1", | ||
@@ -33,4 +34,7 @@ "ramda": "^0.27.1" | ||
"keywords": [ | ||
"pnpm6" | ||
"pnpm7" | ||
], | ||
"exports": { | ||
".": "./lib/index.js" | ||
}, | ||
"scripts": { | ||
@@ -40,4 +44,4 @@ "lint": "eslint src/**/*.ts test/**/*.ts", | ||
"test": "pnpm run compile && pnpm run _test", | ||
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix" | ||
"compile": "tsc --build && pnpm run lint --fix" | ||
} | ||
} |
@@ -10,3 +10,3 @@ # pkgs-graph | ||
``` | ||
<npm|yarn|pnpm> add pkgs-graph | ||
pnpm add pkgs-graph | ||
``` | ||
@@ -13,0 +13,0 @@ |
Sorry, the diff of this file is not supported yet
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
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
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
11309
3
+ Added@pnpm/resolve-workspace-range@3.0.0(transitive)
- Removed@pnpm/resolve-workspace-range@2.1.0(transitive)