@ainc/fs 0.1.19 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lookup.d.ts +1 -1
- package/package.json +5 -5
package/dist/lookup.d.ts
CHANGED
|
@@ -13,4 +13,4 @@ export interface Options<T> {
|
|
|
13
13
|
* 查找最近的文件
|
|
14
14
|
*****************************************
|
|
15
15
|
*/
|
|
16
|
-
export declare function lookup<T = string>(name: string, options?: Options<T>):
|
|
16
|
+
export declare function lookup<T = string>(name: string, options?: Options<T>): T | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ainc/fs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"description": "Let's do something nice with @ainc/esb!",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
"typescript": "^5.8.3"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@jest/globals": "
|
|
21
|
-
"@swc/core": "^1.11
|
|
20
|
+
"@jest/globals": "30.0.4",
|
|
21
|
+
"@swc/core": "^1.12.11",
|
|
22
22
|
"@swc/jest": "^0.2.38",
|
|
23
|
-
"@types/node": "^
|
|
24
|
-
"jest": "^
|
|
23
|
+
"@types/node": "^24.0.10",
|
|
24
|
+
"jest": "^30.0.4"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"start": "tsc",
|