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

@pnpm/list

Package Overview
Dependencies
Maintainers
2
Versions
220
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/list - npm Package Compare versions

Comparing version 8.1.0 to 8.1.1

21

lib/getPkgInfo.d.ts

@@ -1,3 +0,4 @@

export declare function getPkgInfo(pkg: {
alias: string;
import { ProjectManifest } from '@pnpm/types';
interface PkgData {
alias: string | undefined;
name: string;

@@ -7,12 +8,8 @@ version: string;

resolved?: string;
}): Promise<{
alias: string;
}
export type PkgInfo = Omit<PkgData, 'name' | 'path'> & Pick<ProjectManifest, 'description' | 'license' | 'author' | 'homepage'> & {
from: string;
version: string;
resolved: string | undefined;
description: string | undefined;
license: string | undefined;
author: string | undefined;
homepage: string | undefined;
repository: string | undefined;
}>;
repository?: string;
};
export declare function getPkgInfo(pkg: PkgData): Promise<PkgInfo>;
export {};
import { PackageNode } from '@pnpm/reviewing.dependencies-hierarchy';
import { PkgInfo } from './getPkgInfo';
import { PackageDependencyHierarchy } from './types';

@@ -10,2 +11,6 @@ export declare function renderJson(pkgs: PackageDependencyHierarchy[], opts: {

long: boolean;
}): Promise<{}>;
}): Promise<Record<string, PackageJsonListItem>>;
interface PackageJsonListItem extends PkgInfo {
dependencies?: Record<string, PackageJsonListItem>;
}
export {};

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

if (Object.keys(subDependencies).length > 0) {
dep['dependencies'] = subDependencies;
dep.dependencies = subDependencies;
}

@@ -46,0 +46,0 @@ if (!dep.resolved) {

{
"name": "@pnpm/list",
"version": "8.1.0",
"version": "8.1.1",
"description": "List installed packages in a symlinked `node_modules`",

@@ -34,3 +34,3 @@ "main": "lib/index.js",

"semver": "^7.3.8",
"@pnpm/reviewing.dependencies-hierarchy": "1.2.0",
"@pnpm/reviewing.dependencies-hierarchy": "1.2.1",
"@pnpm/matcher": "4.0.1",

@@ -45,3 +45,3 @@ "@pnpm/read-package-json": "7.0.5",

"@types/semver": "7.3.13",
"@pnpm/list": "8.1.0",
"@pnpm/list": "8.1.1",
"@pnpm/test-fixtures": "0.0.31"

@@ -48,0 +48,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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