@effected/walker 0.3.4 → 0.4.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/Descend.js +1 -1
- package/Expand.js +1 -1
- package/package.json +3 -3
package/Descend.js
CHANGED
|
@@ -9,7 +9,7 @@ import { Effect, FileSystem, Path, Schema } from "effect";
|
|
|
9
9
|
*
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
|
-
var DescendError = class extends Schema.
|
|
12
|
+
var DescendError = class extends Schema.TaggedError()("DescendError", {
|
|
13
13
|
/** The glob pattern's source text. */
|
|
14
14
|
pattern: Schema.String,
|
|
15
15
|
reason: Schema.Literals(["unreadableDirectory", "depthExceeded"]),
|
package/Expand.js
CHANGED
|
@@ -21,7 +21,7 @@ import { GlobPattern, GlobPatternError } from "@effected/glob";
|
|
|
21
21
|
*
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
24
|
-
var GlobExpansionError = class extends Schema.
|
|
24
|
+
var GlobExpansionError = class extends Schema.TaggedError()("GlobExpansionError", {
|
|
25
25
|
/** The glob pattern's source text, as handed to {@link compileAndExpand}. */
|
|
26
26
|
pattern: Schema.String,
|
|
27
27
|
/** The underlying typed failure, intact: a compile guard trip or a descent failure. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effected/walker",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Path traversal as Effect primitives: ascend a directory chain to the first matching candidate, or descend a tree expanding a glob against the filesystem.",
|
|
6
6
|
"keywords": [
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"./package.json": "./package.json"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@effected/glob": "^0.
|
|
41
|
-
"effect": "4.0.0-beta.
|
|
40
|
+
"@effected/glob": "^0.3.0",
|
|
41
|
+
"effect": "4.0.0-beta.107"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
44
44
|
"node": ">=24.11.0"
|