pkg-types
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -36,3 +36,3 @@ import { ResolveOptions as ResolveOptions$1 } from 'mlly'; | ||
*/ | ||
declare function findFile(filename: string, _options?: FindFileOptions): Promise<string>; | ||
declare function findFile(filename: string | string[], _options?: FindFileOptions): Promise<string>; | ||
/** | ||
@@ -45,3 +45,3 @@ * Asynchronously finds the next file with the given name, starting in the given directory and moving up. | ||
*/ | ||
declare function findNearestFile(filename: string, _options?: FindFileOptions): Promise<string>; | ||
declare function findNearestFile(filename: string | string[], _options?: FindFileOptions): Promise<string>; | ||
/** | ||
@@ -294,6 +294,6 @@ * Asynchronously finds the furthest file with the given name, starting from the root directory and moving downwards. | ||
/** | ||
* Resolves the path to the nearest `tsconfig.json` file from a given directory. | ||
* Resolves the path to the nearest lockfile from a given directory. | ||
* @param id - The base path for the search, defaults to the current working directory. | ||
* @param options - Options to modify the search behaviour. See {@link ResolveOptions}. | ||
* @returns A promise resolving to the path of the nearest `tsconfig.json` file. | ||
* @returns A promise resolving to the path of the nearest lockfile. | ||
*/ | ||
@@ -300,0 +300,0 @@ declare function resolveLockfile(id?: string, options?: ResolveOptions): Promise<string>; |
{ | ||
"name": "pkg-types", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Node.js utilities and TypeScript definitions for `package.json` and `tsconfig.json`", | ||
@@ -30,12 +30,12 @@ "license": "MIT", | ||
"confbox": "^0.1.7", | ||
"mlly": "^1.6.1", | ||
"mlly": "^1.7.0", | ||
"pathe": "^1.1.2" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.12.7", | ||
"@vitest/coverage-v8": "^1.5.0", | ||
"@types/node": "^20.12.11", | ||
"@vitest/coverage-v8": "^1.6.0", | ||
"automd": "^0.3.7", | ||
"changelogen": "^0.5.5", | ||
"eslint": "^9.0.0", | ||
"eslint-config-unjs": "^0.3.0-rc.6", | ||
"eslint": "^9.2.0", | ||
"eslint-config-unjs": "^0.3.1", | ||
"expect-type": "^0.19.0", | ||
@@ -46,5 +46,5 @@ "jiti": "^1.21.0", | ||
"unbuild": "^2.0.0", | ||
"vitest": "^1.5.0" | ||
"vitest": "^1.6.0" | ||
}, | ||
"packageManager": "pnpm@9.0.1" | ||
"packageManager": "pnpm@9.1.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
62256
622
- Removedpkg-types@1.1.1(transitive)
Updatedmlly@^1.7.0