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 6.0.0 to 6.1.0

11

CHANGELOG.md
# pkgs-graph
## 6.1.0
### Minor Changes
- dfdf669e6: Add new cli arg --filter-prod. --filter-prod acts the same as --filter, but it omits devDependencies when building dependencies
### Patch Changes
- Updated dependencies [85fb21a83]
- @pnpm/resolve-workspace-range@2.1.0
## 6.0.0

@@ -4,0 +15,0 @@

1

lib/index.d.ts

@@ -23,2 +23,3 @@ export interface Manifest {

export default function <T>(pkgs: Array<Package & T>, opts?: {
ignoreDevDeps?: boolean;
linkWorkspacePackages?: boolean;

@@ -25,0 +26,0 @@ }): {

4

lib/index.js

@@ -43,3 +43,3 @@ "use strict";

const dependencies = {
...pkg.manifest.devDependencies,
...(!(opts === null || opts === void 0 ? void 0 : opts.ignoreDevDeps) && pkg.manifest.devDependencies),
...pkg.manifest.optionalDependencies,

@@ -86,3 +86,3 @@ ...pkg.manifest.dependencies,

}
const matched = (0, resolve_workspace_range_1.default)(rawSpec, versions);
const matched = resolve_workspace_range_1.default(rawSpec, versions);
if (!matched) {

@@ -89,0 +89,0 @@ unmatched.push({ pkgName: depName, range: rawSpec });

{
"name": "pkgs-graph",
"version": "6.0.0",
"version": "6.1.0",
"description": "Create a graph from an array of packages",

@@ -11,9 +11,2 @@ "main": "lib/index.js",

],
"scripts": {
"lint": "eslint -c ../../eslint.json src/**/*.ts test/**/*.ts",
"_test": "jest",
"test": "pnpm run compile && pnpm run _test",
"prepublishOnly": "pnpm run compile",
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix"
},
"repository": "https://github.com/pnpm/pnpm/blob/master/packages/pkgs-graph",

@@ -29,11 +22,17 @@ "license": "MIT",

"devDependencies": {
"@types/ramda": "^0.27.35",
"@types/ramda": "0.27.39",
"better-path-resolve": "1.0.0"
},
"dependencies": {
"@pnpm/resolve-workspace-range": "2.0.0",
"@pnpm/resolve-workspace-range": "2.1.0",
"@zkochan/npm-package-arg": "^2.0.1",
"ramda": "^0.27.1"
},
"funding": "https://opencollective.com/pnpm"
"funding": "https://opencollective.com/pnpm",
"scripts": {
"lint": "eslint -c ../../eslint.json src/**/*.ts test/**/*.ts",
"_test": "jest",
"test": "pnpm run compile && pnpm run _test",
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix"
}
}
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