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

@semrel-extra/topo

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semrel-extra/topo - npm Package Compare versions

Comparing version 1.4.4 to 1.5.0

target/es5/interface.d.ts

5

CHANGELOG.md

@@ -0,1 +1,6 @@

## [1.5.0](https://github.com/semrel-extra/topo/compare/v1.4.4...v1.5.0) (2023-02-24)
### Features
* feat: mix toposource `graphs` to result ([db00d12](https://github.com/semrel-extra/topo/commit/db00d128d584d57cea9012a7f475cbdcba515958))
## [1.4.4](https://github.com/semrel-extra/topo/compare/v1.4.3...v1.4.4) (2023-01-05)

@@ -2,0 +7,0 @@

19

package.json
{
"name": "@semrel-extra/topo",
"version": "1.4.4",
"version": "1.5.0",
"description": "Helper to resolve monorepo dependencies graph",

@@ -53,19 +53,18 @@ "publishConfig": {

"dependencies": {
"@types/toposort": "^2.0.3",
"fast-glob": "^3.2.12",
"toposort": "^2.0.2",
"tslib": "^2.4.1"
"toposource": "^1.1.1",
"tslib": "^2.5.0"
},
"devDependencies": {
"@types/node": "^18.11.18",
"@types/micromatch": "^4.0.2",
"c8": "^7.12.0",
"esbuild": "^0.16.14",
"@types/node": "^18.14.1",
"c8": "^7.13.0",
"esbuild": "^0.17.10",
"esbuild-node-externals": "^1.6.0",
"loadr": "^0.1.1",
"micromatch": "^4.0.5",
"prettier": "^2.8.1",
"tsc-esm-fix": "^2.20.8",
"prettier": "^2.8.4",
"tsc-esm-fix": "^2.20.12",
"tsm": "^2.3.0",
"typescript": "^4.9.4",
"typescript": "^4.9.5",
"uvu": "^0.5.6"

@@ -72,0 +71,0 @@ },

@@ -1,30 +0,3 @@

export interface IPackageJson {
name: string;
workspaces?: string[];
dependencies?: Record<string, string>;
devDependencies?: Record<string, string>;
optionalDependencies?: Record<string, string>;
peerDependencies?: Record<string, string>;
}
export interface IPackageEntry {
name: string;
manifest: IPackageJson;
manifestPath: string;
path: string;
absPath: string;
relPath: string;
}
export type ITopoOptions = Partial<ITopoOptionsNormalized>;
export type ITopoOptionsNormalized = {
workspaces: string[];
cwd: string;
filter: (entry: IPackageEntry) => boolean;
};
export interface ITopoContext {
packages: Record<string, IPackageEntry>;
queue: string[];
nodes: string[];
edges: [string, string | undefined][];
root: IPackageEntry;
}
import { ITopoOptionsNormalized, IPackageEntry, IPackageJson, ITopoOptions, ITopoContext } from './interface';
export * from './interface';
export declare const getPackages: (options: ITopoOptionsNormalized) => Promise<Record<string, IPackageEntry>>;

@@ -35,5 +8,5 @@ export declare const getRootPackage: (cwd: string) => Promise<IPackageEntry>;

nodes: string[];
edges: [string, string | undefined][];
edges: [string, string][];
};
export declare const getManifestsPaths: ({ workspaces, cwd }: ITopoOptionsNormalized) => Promise<string[]>;
export declare const slash: (path: string) => string;

@@ -1,30 +0,3 @@

export interface IPackageJson {
name: string;
workspaces?: string[];
dependencies?: Record<string, string>;
devDependencies?: Record<string, string>;
optionalDependencies?: Record<string, string>;
peerDependencies?: Record<string, string>;
}
export interface IPackageEntry {
name: string;
manifest: IPackageJson;
manifestPath: string;
path: string;
absPath: string;
relPath: string;
}
export type ITopoOptions = Partial<ITopoOptionsNormalized>;
export type ITopoOptionsNormalized = {
workspaces: string[];
cwd: string;
filter: (entry: IPackageEntry) => boolean;
};
export interface ITopoContext {
packages: Record<string, IPackageEntry>;
queue: string[];
nodes: string[];
edges: [string, string | undefined][];
root: IPackageEntry;
}
import { ITopoOptionsNormalized, IPackageEntry, IPackageJson, ITopoOptions, ITopoContext } from './interface';
export * from './interface';
export declare const getPackages: (options: ITopoOptionsNormalized) => Promise<Record<string, IPackageEntry>>;

@@ -35,5 +8,5 @@ export declare const getRootPackage: (cwd: string) => Promise<IPackageEntry>;

nodes: string[];
edges: [string, string | undefined][];
edges: [string, string][];
};
export declare const getManifestsPaths: ({ workspaces, cwd }: ITopoOptionsNormalized) => Promise<string[]>;
export declare const slash: (path: string) => string;

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