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

pkgs-graph

Package Overview
Dependencies
Maintainers
2
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 6.1.3 to 7.0.0

4

lib/index.js

@@ -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

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