@effected/templates 0.1.1 → 0.2.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/ManagedSection.js CHANGED
@@ -18,7 +18,7 @@ import { Context, Effect, FileSystem, Layer, Schema } from "effect";
18
18
  *
19
19
  * @public
20
20
  */
21
- var SectionFileError = class extends Schema.TaggedErrorClass()("SectionFileError", {
21
+ var SectionFileError = class extends Schema.TaggedError()("SectionFileError", {
22
22
  /** The file the operation was against. */
23
23
  path: Schema.String,
24
24
  /** Which half of the read-modify-write failed. */
package/SectionDialect.js CHANGED
@@ -12,7 +12,7 @@ import { Equal, Result, Schema } from "effect";
12
12
  *
13
13
  * @public
14
14
  */
15
- var SectionRenderError = class extends Schema.TaggedErrorClass()("SectionRenderError", {
15
+ var SectionRenderError = class extends Schema.TaggedError()("SectionRenderError", {
16
16
  /**
17
17
  * `markerInContent` — the content carries a line the scanner would read as
18
18
  * a marker, which would move the block boundary and let the next sync
@@ -20,7 +20,7 @@ import { Effect, Equal, Option, Result, Schema } from "effect";
20
20
  *
21
21
  * @public
22
22
  */
23
- var SectionParseError = class SectionParseError extends Schema.TaggedErrorClass()("SectionParseError", {
23
+ var SectionParseError = class SectionParseError extends Schema.TaggedError()("SectionParseError", {
24
24
  /** Which ambiguity was found. */
25
25
  reason: Schema.Literals(SCAN_FAILURE_REASONS),
26
26
  /** 1-based line of the offending marker. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effected/templates",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "private": false,
5
5
  "description": "Managed-section blocks in user-editable files: parse, reconcile, sync and check delimited regions.",
6
6
  "keywords": [
@@ -37,7 +37,7 @@
37
37
  "./package.json": "./package.json"
38
38
  },
39
39
  "peerDependencies": {
40
- "effect": "4.0.0-beta.101"
40
+ "effect": "4.0.0-beta.107"
41
41
  },
42
42
  "engines": {
43
43
  "node": ">=24.11.0"