module-root-sync
Advanced tools
| import type { RootOptions } from './types'; | ||
| export * from './types'; | ||
| export default function moduleRoot(dir: string, options?: RootOptions): string; |
| export interface RootOptions { | ||
| keyExists?: string; | ||
| } |
| import type { RootOptions } from './types'; | ||
| export * from './types'; | ||
| export default function moduleRoot(dir: string, options?: RootOptions): string; |
| export interface RootOptions { | ||
| keyExists?: string; | ||
| } |
+7
-6
| { | ||
| "name": "module-root-sync", | ||
| "version": "1.1.9", | ||
| "version": "1.1.10", | ||
| "description": "Finds the directory that the modules resides in", | ||
@@ -26,9 +26,10 @@ "keywords": [ | ||
| "exports": { | ||
| "import": "./dist/esm/index.mjs", | ||
| "require": "./dist/cjs/index.cjs", | ||
| "types": "./dist/types/index.d.ts" | ||
| ".": { | ||
| "import": "./dist/esm/index.mjs", | ||
| "require": "./dist/cjs/index.cjs" | ||
| }, | ||
| "./package.json": "./package.json" | ||
| }, | ||
| "main": "dist/cjs/index.cjs", | ||
| "module": "dist/esm/index.mjs", | ||
| "types": "dist/types/index.d.ts", | ||
| "types": "dist/cjs/index.d.cts", | ||
| "files": [ | ||
@@ -35,0 +36,0 @@ "dist" |
| import type { RootOptions } from './types'; | ||
| export * from './types'; | ||
| export default function moduleRoot(dir: string, options?: RootOptions): string; |
| export interface RootOptions { | ||
| keyExists?: string; | ||
| } |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
9774
2.01%15
15.38%84
-6.67%