Socket
Socket
Sign inDemoInstall

pkg-dir

Package Overview
Dependencies
6
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.1 to 7.0.0

4

index.d.ts

@@ -33,3 +33,3 @@ export interface Options {

*/
export function packageDirectory(options?: Options): Promise<string>;
export function packageDirectory(options?: Options): Promise<string | undefined>;

@@ -59,2 +59,2 @@ /**

*/
export function packageDirectorySync(options?: Options): string;
export function packageDirectorySync(options?: Options): string | undefined;
{
"name": "pkg-dir",
"version": "6.0.1",
"version": "7.0.0",
"description": "Find the root directory of a Node.js project or npm package",

@@ -16,3 +16,3 @@ "license": "MIT",

"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
"node": ">=14.16"
},

@@ -51,11 +51,11 @@ "scripts": {

"dependencies": {
"find-up": "^6.1.0"
"find-up": "^6.3.0"
},
"devDependencies": {
"ava": "^3.15.0",
"tempy": "^2.0.0",
"tsd": "^0.17.0",
"typescript": "^4.4.3",
"xo": "^0.44.0"
"ava": "^4.3.1",
"tempy": "^3.0.0",
"tsd": "^0.22.0",
"typescript": "^4.7.4",
"xo": "^0.51.0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc