🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@changesets/get-dependents-graph

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@changesets/get-dependents-graph - npm Package Compare versions

Comparing version
3.0.0-next.5
to
3.0.0-next.6
+7
-0
CHANGELOG.md
# @changesets/get-dependents-graph
## 3.0.0-next.6
### Patch Changes
- Updated dependencies [[`4c26f2f`](https://github.com/changesets/changesets/commit/4c26f2faac89b53d3305cf73c9e9cfca5aa88f5f), [`813bbf3`](https://github.com/changesets/changesets/commit/813bbf314d051bfee3b46a793f94b396ef2a4df1)]:
- @changesets/types@7.0.0-next.6
## 3.0.0-next.5

@@ -4,0 +11,0 @@

+1
-1

@@ -7,4 +7,4 @@ import { Packages } from "@changesets/types";

bumpVersionsWithWorkspaceProtocolOnly?: boolean;
}): Map<any, any>;
}): Map<string, Array<string>>;
//#endregion
export { getDependentsGraph };

@@ -30,3 +30,3 @@ import path from "node:path";

};
const isProtocolRange = (range) => range.indexOf(":") !== -1;
const isProtocolRange = (range) => range.includes(":");
const getValidRange = (potentialRange) => {

@@ -33,0 +33,0 @@ if (isProtocolRange(potentialRange)) return null;

{
"name": "@changesets/get-dependents-graph",
"version": "3.0.0-next.5",
"version": "3.0.0-next.6",
"description": "Get the graph of dependents in a monorepo",

@@ -17,7 +17,6 @@ "license": "MIT",

"dependencies": {
"semver": "^7.8.0",
"@changesets/types": "^7.0.0-next.5"
"semver": "^7.8.1",
"@changesets/types": "^7.0.0-next.6"
},
"devDependencies": {
"vitest": "^4.1.6",
"@changesets/color": "^1.0.0",

@@ -24,0 +23,0 @@ "@changesets/test-utils": "0.0.9-next.3"

@@ -41,3 +41,3 @@ import path from "node:path";

const isProtocolRange = (range: string) => range.indexOf(":") !== -1;
const isProtocolRange = (range: string) => range.includes(":");

@@ -44,0 +44,0 @@ const getValidRange = (potentialRange: string) => {

@@ -10,3 +10,3 @@ import type { Package, Packages } from "@changesets/types";

},
) {
): Map<string, Array<string>> {
const graph: Map<string, { pkg: Package; dependents: string[] }> = new Map();

@@ -13,0 +13,0 @@