From 550537daba2fd7649b4a04ee4836437e63045f9a Mon Sep 17 00:00:00 2001 From: wtasg <225132696+wtasg@users.noreply.github.com> Date: Sun, 7 Dec 2025 13:51:26 +0530 Subject: [PATCH] v0.0.7 --- docs/docs.json | 66 +++++----- docs/functions/createFindDirectories.md | 2 +- docs/functions/hello.md | 2 +- docs/functions/pojo.md | 2 +- docs/interfaces/FileSystemDependencies.md | 6 +- docs/interfaces/FindDirectoriesOptions.md | 10 +- package-lock.json | 150 +++++++++------------- package.json | 2 +- test_report | 26 ++-- 9 files changed, 122 insertions(+), 144 deletions(-) diff --git a/docs/docs.json b/docs/docs.json index 9a7ca86..613d1ef 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -24,7 +24,7 @@ "fileName": "find.ts", "line": 4, "character": 4, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L4" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4" } ], "type": { @@ -40,7 +40,7 @@ "fileName": "find.ts", "line": 4, "character": 13, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L4" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4" } ], "signatures": [ @@ -55,7 +55,7 @@ "fileName": "find.ts", "line": 4, "character": 13, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L4" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4" } ], "parameters": [ @@ -96,7 +96,7 @@ "fileName": "find.ts", "line": 4, "character": 36, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L4" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4" } ], "type": { @@ -118,7 +118,7 @@ "fileName": "find.ts", "line": 4, "character": 34, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L4" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4" } ] } @@ -155,7 +155,7 @@ "fileName": "find.ts", "line": 4, "character": 72, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L4" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4" } ], "type": { @@ -174,7 +174,7 @@ "fileName": "find.ts", "line": 4, "character": 86, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L4" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4" } ], "signatures": [ @@ -189,7 +189,7 @@ "fileName": "find.ts", "line": 4, "character": 86, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L4" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4" } ], "type": { @@ -219,7 +219,7 @@ "fileName": "find.ts", "line": 4, "character": 70, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L4" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4" } ] } @@ -245,7 +245,7 @@ "fileName": "find.ts", "line": 5, "character": 4, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L5" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L5" } ], "type": { @@ -261,7 +261,7 @@ "fileName": "find.ts", "line": 5, "character": 10, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L5" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L5" } ], "signatures": [ @@ -276,7 +276,7 @@ "fileName": "find.ts", "line": 5, "character": 10, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L5" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L5" } ], "parameters": [ @@ -320,7 +320,7 @@ "fileName": "find.ts", "line": 5, "character": 38, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L5" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L5" } ], "signatures": [ @@ -335,7 +335,7 @@ "fileName": "find.ts", "line": 5, "character": 38, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L5" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L5" } ], "type": { @@ -359,7 +359,7 @@ "fileName": "find.ts", "line": 5, "character": 36, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L5" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L5" } ] } @@ -388,7 +388,7 @@ "fileName": "find.ts", "line": 3, "character": 10, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L3" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L3" } ] }, @@ -412,7 +412,7 @@ "fileName": "find.ts", "line": 11, "character": 4, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L11" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L11" } ], "type": { @@ -438,7 +438,7 @@ "fileName": "find.ts", "line": 11, "character": 28, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L11" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L11" } ], "signatures": [ @@ -453,7 +453,7 @@ "fileName": "find.ts", "line": 11, "character": 28, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L11" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L11" } ], "parameters": [ @@ -504,7 +504,7 @@ "fileName": "find.ts", "line": 12, "character": 4, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L12" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L12" } ], "type": { @@ -530,7 +530,7 @@ "fileName": "find.ts", "line": 12, "character": 28, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L12" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L12" } ], "signatures": [ @@ -545,7 +545,7 @@ "fileName": "find.ts", "line": 12, "character": 28, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L12" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L12" } ], "parameters": [ @@ -596,7 +596,7 @@ "fileName": "find.ts", "line": 10, "character": 4, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L10" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L10" } ], "type": { @@ -617,7 +617,7 @@ "fileName": "find.ts", "line": 9, "character": 4, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L9" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L9" } ], "type": { @@ -642,7 +642,7 @@ "fileName": "find.ts", "line": 8, "character": 10, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L8" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L8" } ] }, @@ -657,7 +657,7 @@ "fileName": "find.ts", "line": 19, "character": 9, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L19" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L19" } ], "signatures": [ @@ -680,7 +680,7 @@ "fileName": "find.ts", "line": 19, "character": 9, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L19" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L19" } ], "parameters": [ @@ -711,7 +711,7 @@ "fileName": "find.ts", "line": 23, "character": 26, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L23" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L23" } ], "signatures": [ @@ -726,7 +726,7 @@ "fileName": "find.ts", "line": 23, "character": 26, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L23" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L23" } ], "parameters": [ @@ -793,7 +793,7 @@ "fileName": "hello.ts", "line": 6, "character": 15, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/hello.ts#L6" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/hello.ts#L6" } ], "signatures": [ @@ -827,7 +827,7 @@ "fileName": "hello.ts", "line": 6, "character": 15, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/hello.ts#L6" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/hello.ts#L6" } ], "type": { @@ -860,7 +860,7 @@ "fileName": "pojo.ts", "line": 10, "character": 9, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/pojo.ts#L10" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/pojo.ts#L10" } ], "signatures": [ @@ -894,7 +894,7 @@ "fileName": "pojo.ts", "line": 10, "character": 9, - "url": "https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/pojo.ts#L10" + "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/pojo.ts#L10" } ], "typeParameters": [ diff --git a/docs/functions/createFindDirectories.md b/docs/functions/createFindDirectories.md index ba2b719..cd632ba 100644 --- a/docs/functions/createFindDirectories.md +++ b/docs/functions/createFindDirectories.md @@ -8,7 +8,7 @@ > **createFindDirectories**(`deps`): (`root`, `options`) => `Promise`\<`string`[]\> -Defined in: [find.ts:19](https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L19) +Defined in: [find.ts:19](https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L19) Factory that produces an async findDirectories function with injected filesystem dependencies for full testability. diff --git a/docs/functions/hello.md b/docs/functions/hello.md index 62940d8..275e3db 100644 --- a/docs/functions/hello.md +++ b/docs/functions/hello.md @@ -8,7 +8,7 @@ > **hello**(): `Promise`\<`string`\> -Defined in: [hello.ts:6](https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/hello.ts#L6) +Defined in: [hello.ts:6](https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/hello.ts#L6) A sample function that should work to test if lib is installed correctly. diff --git a/docs/functions/pojo.md b/docs/functions/pojo.md index 7d2fdce..9a3aea0 100644 --- a/docs/functions/pojo.md +++ b/docs/functions/pojo.md @@ -8,7 +8,7 @@ > **pojo**\<`T`\>(`instance`): `Record`\<`string`, `unknown`\> -Defined in: [pojo.ts:10](https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/pojo.ts#L10) +Defined in: [pojo.ts:10](https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/pojo.ts#L10) Convert a class instance into a plain JavaScript object. Copies only the instance's own enumerable data properties diff --git a/docs/interfaces/FileSystemDependencies.md b/docs/interfaces/FileSystemDependencies.md index d5bbc32..f6f565d 100644 --- a/docs/interfaces/FileSystemDependencies.md +++ b/docs/interfaces/FileSystemDependencies.md @@ -6,7 +6,7 @@ # Interface: FileSystemDependencies -Defined in: [find.ts:3](https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L3) +Defined in: [find.ts:3](https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L3) ## Properties @@ -14,7 +14,7 @@ Defined in: [find.ts:3](https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455 > **readdir**: (`path`, `opts`) => `Promise`\<`object`[]\> -Defined in: [find.ts:4](https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L4) +Defined in: [find.ts:4](https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4) #### Parameters @@ -38,7 +38,7 @@ Defined in: [find.ts:4](https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455 > **stat**: (`path`) => `Promise`\<\{ `isDirectory`: `boolean`; \}\> -Defined in: [find.ts:5](https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L5) +Defined in: [find.ts:5](https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L5) #### Parameters diff --git a/docs/interfaces/FindDirectoriesOptions.md b/docs/interfaces/FindDirectoriesOptions.md index f1b4a0b..6d65112 100644 --- a/docs/interfaces/FindDirectoriesOptions.md +++ b/docs/interfaces/FindDirectoriesOptions.md @@ -6,7 +6,7 @@ # Interface: FindDirectoriesOptions -Defined in: [find.ts:8](https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L8) +Defined in: [find.ts:8](https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L8) ## Properties @@ -14,7 +14,7 @@ Defined in: [find.ts:8](https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455 > `optional` **allowlist**: `string`[] \| (`absPath`, `name`) => `boolean` -Defined in: [find.ts:11](https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L11) +Defined in: [find.ts:11](https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L11) *** @@ -22,7 +22,7 @@ Defined in: [find.ts:11](https://github.com/wtasg/node-lib/blob/cf7bf2c52d729045 > `optional` **blocklist**: `string`[] \| (`absPath`, `name`) => `boolean` -Defined in: [find.ts:12](https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L12) +Defined in: [find.ts:12](https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L12) *** @@ -30,7 +30,7 @@ Defined in: [find.ts:12](https://github.com/wtasg/node-lib/blob/cf7bf2c52d729045 > `optional` **followSymlinks**: `boolean` -Defined in: [find.ts:10](https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L10) +Defined in: [find.ts:10](https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L10) *** @@ -38,4 +38,4 @@ Defined in: [find.ts:10](https://github.com/wtasg/node-lib/blob/cf7bf2c52d729045 > `optional` **maxDepth**: `number` -Defined in: [find.ts:9](https://github.com/wtasg/node-lib/blob/cf7bf2c52d7290455ef5117574965703bedcc8a9/src/find.ts#L9) +Defined in: [find.ts:9](https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L9) diff --git a/package-lock.json b/package-lock.json index afca96e..c3ff200 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@wtasnorg/node-lib", - "version": "0.0.6", + "version": "0.0.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@wtasnorg/node-lib", - "version": "0.0.6", + "version": "0.0.7", "cpu": [ "x64" ], @@ -84,30 +84,6 @@ "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/@eslint/config-array/node_modules/brace-expansion": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", - "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/@eslint/config-array/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/@eslint/config-helpers": { "version": "0.4.2", "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz", @@ -158,17 +134,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/@eslint/eslintrc/node_modules/brace-expansion": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", - "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, "node_modules/@eslint/eslintrc/node_modules/globals": { "version": "14.0.0", "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", @@ -182,19 +147,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@eslint/eslintrc/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/@eslint/js": { "version": "9.39.1", "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.1.tgz", @@ -598,6 +550,32 @@ "typescript": ">=4.8.4 <6.0.0" } }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/@typescript-eslint/utils": { "version": "8.48.1", "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.48.1.tgz", @@ -711,13 +689,14 @@ "license": "MIT" }, "node_modules/brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "dev": true, "license": "MIT", "dependencies": { - "balanced-match": "^1.0.0" + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" } }, "node_modules/callsites": { @@ -946,30 +925,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/brace-expansion": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", - "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/eslint/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/espree": { "version": "10.4.0", "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz", @@ -1358,19 +1313,16 @@ "license": "MIT" }, "node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "license": "ISC", "dependencies": { - "brace-expansion": "^2.0.1" + "brace-expansion": "^1.1.7" }, "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": "*" } }, "node_modules/ms": { @@ -1665,6 +1617,32 @@ "typedoc": "0.28.x" } }, + "node_modules/typedoc/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/typedoc/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/typescript": { "version": "5.9.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", diff --git a/package.json b/package.json index 390bc1a..e89e84e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wtasnorg/node-lib", - "version": "0.0.6", + "version": "0.0.7", "description": "node library", "main": "src/index.js", "scripts": { diff --git a/test_report b/test_report index 09b91f6..94d1ab0 100644 --- a/test_report +++ b/test_report @@ -1,21 +1,21 @@ -> @wtasnorg/node-lib@0.0.6 test +> @wtasnorg/node-lib@0.0.7 test > bash -c 'node --test src/**/*.test.js' -✔ find: findDirectories success (1.136601ms) -✔ find: findDirectories symlink is NOT treated as a directory (0.189308ms) -✔ find: findDirectories at depth=2 (0.274118ms) -✔ find: findDirectories at depth=3 (0.250638ms) +✔ find: findDirectories success (1.077042ms) +✔ find: findDirectories symlink is NOT treated as a directory (0.181028ms) +✔ find: findDirectories at depth=2 (0.264408ms) +✔ find: findDirectories at depth=3 (0.225558ms) hello from @wtasnorg/node-lib hello from @wtasnorg/node-lib ▶ hello - ✔ returns a string that has the word 'hello' in it (0.938832ms) - ✔ returns exact string (0.133668ms) -✔ hello (1.739206ms) -✔ pojo() should return only enumerable data fields (1.058661ms) -✔ pojo() should exclude methods (0.165029ms) -✔ pojo() should exclude prototype properties (0.143849ms) -✔ pojo() should ignore non-enumerable own properties (0.693624ms) + ✔ returns a string that has the word 'hello' in it (0.855703ms) + ✔ returns exact string (0.132439ms) +✔ hello (1.649597ms) +✔ pojo() should return only enumerable data fields (0.948072ms) +✔ pojo() should exclude methods (0.137609ms) +✔ pojo() should exclude prototype properties (0.141089ms) +✔ pojo() should ignore non-enumerable own properties (0.671565ms) ℹ tests 10 ℹ suites 1 ℹ pass 10 @@ -23,4 +23,4 @@ hello from @wtasnorg/node-lib ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 -ℹ duration_ms 47.072307 +ℹ duration_ms 50.692585