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

find-packages

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

find-packages - npm Package Compare versions

Comparing version 7.0.1 to 7.0.2

10

lib/index.d.ts

@@ -1,2 +0,2 @@

import { ImporterManifest } from '@pnpm/types';
import { ProjectManifest } from '@pnpm/types';
declare namespace findPkgs {

@@ -8,9 +8,9 @@ interface Options {

}
interface WorkspacePackage {
interface Project {
dir: string;
manifest: ImporterManifest;
writeImporterManifest(manifest: ImporterManifest, force?: boolean | undefined): Promise<void>;
manifest: ProjectManifest;
writeProjectManifest(manifest: ProjectManifest, force?: boolean | undefined): Promise<void>;
}
}
declare function findPkgs(root: string, opts?: findPkgs.Options): Promise<findPkgs.WorkspacePackage[]>;
declare function findPkgs(root: string, opts?: findPkgs.Options): Promise<findPkgs.Project[]>;
export = findPkgs;
"use strict";
const read_importer_manifest_1 = require("@pnpm/read-importer-manifest");
const read_project_manifest_1 = require("@pnpm/read-project-manifest");
const fastGlob = require("fast-glob");

@@ -33,3 +33,3 @@ const pFilter = require("p-filter");

dir: path.dirname(manifestPath),
...await read_importer_manifest_1.readExactImporterManifest(manifestPath),
...await read_project_manifest_1.readExactProjectManifest(manifestPath),
};

@@ -36,0 +36,0 @@ }

{
"name": "find-packages",
"version": "7.0.1",
"version": "7.0.2",
"description": "Find all packages inside a directory",

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

"scripts": {
"lint": "tslint -c tslint.json src/**/*.ts test/**/*.ts",
"test": "pnpm run tsc && pnpm run lint && ts-node test --type-check",
"lint": "tslint -c ../../tslint.json src/**/*.ts test/**/*.ts",
"test": "pnpm run tsc && ts-node test --type-check",
"tsc": "tsc",

@@ -36,8 +36,7 @@ "prepublishOnly": "pnpm run tsc"

"devDependencies": {
"find-packages": "link:",
"tape": "4.11.0"
"find-packages": "link:"
},
"dependencies": {
"@pnpm/read-importer-manifest": "2.0.1",
"@pnpm/types": "4.0.0",
"@pnpm/read-project-manifest": "1.0.0",
"@pnpm/types": "5.0.0",
"fast-glob": "^3.1.1",

@@ -44,0 +43,0 @@ "p-filter": "^2.1.0"

@@ -26,3 +26,3 @@ # find-packages

// manifest: { name: 'foo', version: '1.0.0' },
// writeImporterManifest: [AsyncFunction] } ]
// writeProjectManifest: [AsyncFunction] } ]
```

@@ -29,0 +29,0 @@

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