clarity-pattern-parser 10.0.0 → 10.0.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.
@@ -652,7 +652,7 @@
652
652
  get name() {
653
653
  return this._name;
654
654
  }
655
- get value() {
655
+ get regex() {
656
656
  return this._originalRegexString;
657
657
  }
658
658
  get parent() {
package/dist/index.esm.js CHANGED
@@ -646,7 +646,7 @@ class Regex {
646
646
  get name() {
647
647
  return this._name;
648
648
  }
649
- get value() {
649
+ get regex() {
650
650
  return this._originalRegexString;
651
651
  }
652
652
  get parent() {
package/dist/index.js CHANGED
@@ -650,7 +650,7 @@ class Regex {
650
650
  get name() {
651
651
  return this._name;
652
652
  }
653
- get value() {
653
+ get regex() {
654
654
  return this._originalRegexString;
655
655
  }
656
656
  get parent() {
@@ -17,7 +17,7 @@ export declare class Regex implements Pattern {
17
17
  get id(): string;
18
18
  get type(): string;
19
19
  get name(): string;
20
- get value(): string;
20
+ get regex(): string;
21
21
  get parent(): Pattern | null;
22
22
  set parent(pattern: Pattern | null);
23
23
  get children(): Pattern[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarity-pattern-parser",
3
- "version": "10.0.0",
3
+ "version": "10.0.1",
4
4
  "description": "Parsing Library for Typescript and Javascript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.esm.js",
@@ -30,7 +30,7 @@ export class Regex implements Pattern {
30
30
  return this._name;
31
31
  }
32
32
 
33
- get value(): string{
33
+ get regex(): string{
34
34
  return this._originalRegexString;
35
35
  }
36
36