filter-scan-dir 2.0.1 → 2.1.0

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import Fs from "fs";
1
+ import Fs, { Dirent, Stats } from "fs";
2
2
  import Path from "path";
3
3
  import Util from "util";
4
4
  import { direntCmp, join2 } from "./util.js";
package/dist/util.js CHANGED
@@ -1,3 +1,5 @@
1
+ import Path from "path";
2
+ import { Dirent } from "fs";
1
3
  /* @ignore */
2
4
  /**
3
5
  * compare Dirent for sorting
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "filter-scan-dir",
3
- "version": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "description": "Recursively scan and filter directory for a flat array of files",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "build": "rm -rf dist && tsc -p tsconfig.json",
18
18
  "_clean": "rm -rf dist-*",
19
19
  "test": "vitest run",
20
- "ci:check": "tsc --noEmit -p tsconfig.json && npm test",
20
+ "ci:check": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.test.json && npm test",
21
21
  "test:watch": "vitest",
22
22
  "test:ui": "vitest --ui",
23
23
  "coverage": "vitest run --coverage",
@@ -62,7 +62,7 @@
62
62
  "homepage": "https://github.com/jchip/fynjs/tree/main/packages/filter-scan-dir",
63
63
  "dependencies": {},
64
64
  "engines": {
65
- "node": ">=22.12.0"
65
+ "node": ">=22.18.0"
66
66
  },
67
67
  "sideEffects": false
68
68
  }