pkgs-graph
Advanced tools
Comparing version 5.1.3 to 5.1.4
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const resolve_workspace_range_1 = require("@pnpm/resolve-workspace-range"); | ||
const npa = require("@zkochan/npm-package-arg"); | ||
const path = require("path"); | ||
const R = require("ramda"); | ||
const semver = require("semver"); | ||
function default_1(pkgs) { | ||
@@ -52,3 +52,3 @@ const pkgMap = createPkgMap(pkgs); | ||
} | ||
const matched = semver.maxSatisfying(versions, rawSpec); | ||
const matched = resolve_workspace_range_1.default(rawSpec, versions); | ||
if (!matched) { | ||
@@ -72,1 +72,2 @@ unmatched.push({ pkgName: depName, range: rawSpec }); | ||
} | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "pkgs-graph", | ||
"version": "5.1.3", | ||
"version": "5.1.4", | ||
"description": "Create a graph from an array of packages", | ||
@@ -8,19 +8,17 @@ "main": "lib/index.js", | ||
"files": [ | ||
"lib" | ||
"lib", | ||
"!*.map" | ||
], | ||
"scripts": { | ||
"lint": "tslint -c ../../tslint.json src/**/*.ts test/**/*.ts", | ||
"test": "pnpm run tsc && ts-node test --type-check", | ||
"tsc": "tsc", | ||
"prepublishOnly": "pnpm run tsc" | ||
"_test": "cd ../.. && c8 --reporter lcov --reports-dir packages/pkgs-graph/coverage ts-node packages/pkgs-graph/test --type-check", | ||
"test": "pnpm run compile && pnpm run _test", | ||
"prepublishOnly": "pnpm run compile", | ||
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build" | ||
}, | ||
"repository": "https://github.com/pnpm/pnpm/blob/master/packages/pkgs-graph", | ||
"author": { | ||
"name": "Zoltan Kochan", | ||
"email": "z@kochan.io", | ||
"url": "https://www.kochan.io/" | ||
}, | ||
"author": "Zoltan Kochan <z@kochan.io> (https://www.kochan.io/)", | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=10.13" | ||
}, | ||
@@ -32,4 +30,3 @@ "bugs": { | ||
"devDependencies": { | ||
"@types/ramda": "^0.26.41", | ||
"@types/semver": "^7.1.0", | ||
"@types/ramda": "^0.27.0", | ||
"better-path-resolve": "1.0.0", | ||
@@ -39,6 +36,6 @@ "pkgs-graph": "link:" | ||
"dependencies": { | ||
"@pnpm/resolve-workspace-range": "1.0.0", | ||
"@zkochan/npm-package-arg": "^1.0.2", | ||
"ramda": "^0.27.0", | ||
"semver": "7.1.3" | ||
"ramda": "^0.27.0" | ||
} | ||
} |
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
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
6952
3
+ Added@pnpm/resolve-workspace-range@1.0.0(transitive)
- Removedsemver@7.1.3