@effected/templates 0.9.0 → 0.9.1

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/Section.js CHANGED
@@ -22,7 +22,7 @@ import { Effect, Schema } from "effect";
22
22
  *
23
23
  * @public
24
24
  */
25
- const SectionKey = Schema.String.check(Schema.isPattern(/^[A-Za-z0-9][A-Za-z0-9._-]*$/));
25
+ const SectionKey = Schema.String.check(Schema.isPattern(/^[A-Za-z0-9][A-Za-z0-9._-]*$/u));
26
26
  /**
27
27
  * What identifies a managed section inside a document: its key and the
28
28
  * comment style its markers are written in.
package/SectionDialect.js CHANGED
@@ -86,7 +86,7 @@ var SectionDialect = class SectionDialect extends Schema.Class("SectionDialect")
86
86
  * phrase can never contain the `---` rule and make a marker ambiguous
87
87
  * against itself.
88
88
  */
89
- phrase: Schema.String.check(Schema.isPattern(/^[A-Za-z0-9][A-Za-z0-9 _]*$/)),
89
+ phrase: Schema.String.check(Schema.isPattern(/^[A-Za-z0-9][A-Za-z0-9 _]*$/u)),
90
90
  /** Which comment styles the document scanner recognizes. At least one. */
91
91
  styles: Schema.Array(CommentStyle).check(Schema.isMinLength(1))
92
92
  }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effected/templates",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "private": false,
5
5
  "description": "Managed-section blocks in user-editable files: parse, reconcile, sync and check delimited regions.",
6
6
  "keywords": [