@procedures/fs 0.60.1 → 0.61.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/CHANGELOG.md +16 -0
- package/README.md +2 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @procedures/fs
|
|
2
2
|
|
|
3
|
+
## 0.61.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 84d9551: The CHANGELOG of 0.60.1 names only the brace groups of `fs.glob` with `dot: true`. Version 0.60.1 also changed three results of `fs.glob` with `dot: true`. Tests hold these results.
|
|
8
|
+
|
|
9
|
+
- A pattern `x/**` also gives the folder `x`, as `fs.glob` without `dot` does.
|
|
10
|
+
- An ignore pattern keeps the walk out of a folder only when it matches the folder or each entry in it. Before 0.60.1, `**/.*` stopped the walk at each folder, and `a/?` stopped it at the folder `a`.
|
|
11
|
+
- A pattern that starts with `./` matches. Before 0.60.1, it matched nothing.
|
|
12
|
+
|
|
13
|
+
Migration for the site and each app: examine each call of `fs.glob` with `dot: true` and a pattern that ends in `/**`. To get the matches of 0.60.0, remove the match that is equal to the folder.
|
|
14
|
+
- Updated dependencies [8506442]
|
|
15
|
+
- Updated dependencies [f9a78f9]
|
|
16
|
+
- Updated dependencies [3eb4b59]
|
|
17
|
+
- @procedures/client@0.61.0
|
|
18
|
+
|
|
3
19
|
## 0.60.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -602,6 +602,8 @@ Find files matching a glob pattern using the Node.js `fs.glob` API (`node:fs/pro
|
|
|
602
602
|
|
|
603
603
|
With `dot: true`, the walk uses the glob matcher of `@mark1russell7/files`. Each wildcard matches a name that starts with `.`, and a brace group can hold a dot name, for example `{.github,docs}/**`. The matcher knows `*`, `**`, `?`, sets and brace groups.
|
|
604
604
|
|
|
605
|
+
A pattern `x/**` also gives the folder `x`, as without `dot`. An ignore pattern keeps the walk out of a folder only when it matches the folder or each entry in it. A pattern can start with `./`.
|
|
606
|
+
|
|
605
607
|
```typescript
|
|
606
608
|
const result = await client.exec(
|
|
607
609
|
["fs", "glob"],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@procedures/fs",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.61.0",
|
|
5
5
|
"description": "File system procedures: read, write, copy, move, glob, exists, mkdir and JSON read and write, callable in process, over RPC or from Claude through MCP.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"filesystem",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"dependencies": {
|
|
78
78
|
"@mark1russell7/collections": "^0.11.1",
|
|
79
79
|
"@mark1russell7/files": "^0.0.3",
|
|
80
|
-
"@procedures/client": "0.
|
|
80
|
+
"@procedures/client": "0.61.0",
|
|
81
81
|
"zod": "^4.6.5"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|