Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pkgs-graph

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pkgs-graph - npm Package Compare versions

Comparing version 5.1.3 to 5.1.4

5

lib/index.js
"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

27

package.json
{
"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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc