rregex 1.1.3 → 1.1.4

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/lib/browser.d.ts CHANGED
@@ -35,56 +35,56 @@ export type HirKindLiteralVariant = {
35
35
  '@type': 'struct'
36
36
  '@name': 'regex_syntax::hir::HirKind'
37
37
  '@variant': 'Literal'
38
- 'value': Literal
38
+ '@values': [Literal]
39
39
  }
40
40
 
41
41
  export type HirKindClassVariant = {
42
42
  '@type': 'struct'
43
43
  '@name': 'regex_syntax::hir::HirKind'
44
44
  '@variant': 'Class'
45
- 'value': Class
45
+ '@values': [Class]
46
46
  }
47
47
 
48
48
  export type HirKindAnchorVariant = {
49
49
  '@type': 'struct'
50
50
  '@name': 'regex_syntax::hir::HirKind'
51
51
  '@variant': 'Anchor'
52
- 'value': Anchor
52
+ '@values': [Anchor]
53
53
  }
54
54
 
55
55
  export type HirKindWordBoundaryVariant = {
56
56
  '@type': 'struct'
57
57
  '@name': 'regex_syntax::hir::HirKind'
58
58
  '@variant': 'WordBoundary'
59
- 'value': WordBoundary
59
+ '@values': [WordBoundary]
60
60
  }
61
61
 
62
62
  export type HirKindRepetitionVariant = {
63
63
  '@type': 'struct'
64
64
  '@name': 'regex_syntax::hir::HirKind'
65
65
  '@variant': 'Repetition'
66
- 'value': Repetition
66
+ '@values': [Repetition]
67
67
  }
68
68
 
69
69
  export type HirKindGroupVariant = {
70
70
  '@type': 'struct'
71
71
  '@name': 'regex_syntax::hir::HirKind'
72
72
  '@variant': 'Group'
73
- 'value': Group
73
+ '@values': [Group]
74
74
  }
75
75
 
76
76
  export type HirKindConcatVariant = {
77
77
  '@type': 'struct'
78
78
  '@name': 'regex_syntax::hir::HirKind'
79
79
  '@variant': 'Concat'
80
- 'value': Hir[]
80
+ '@values': [Hir[]]
81
81
  }
82
82
 
83
83
  export type HirKindAlternationVariant = {
84
84
  '@type': 'struct'
85
85
  '@name': 'regex_syntax::hir::HirKind'
86
86
  '@variant': 'Alternation'
87
- 'value': Hir[]
87
+ '@values': [Hir[]]
88
88
  }
89
89
 
90
90
 
@@ -97,14 +97,14 @@ export type LiteralUnicodeVariant = {
97
97
  '@type': 'struct'
98
98
  '@name': 'regex_syntax::hir::Literal'
99
99
  '@variant': 'Unicode'
100
- 'value': string
100
+ '@values': [string]
101
101
  }
102
102
 
103
103
  export type LiteralByteVariant = {
104
104
  '@type': 'struct'
105
105
  '@name': 'regex_syntax::hir::Literal'
106
106
  '@variant': 'Byte'
107
- 'value': number
107
+ '@values': [number]
108
108
  }
109
109
 
110
110
 
@@ -117,14 +117,14 @@ export type ClassUnicodeVariant = {
117
117
  '@type': 'struct'
118
118
  '@name': 'regex_syntax::hir::Class'
119
119
  '@variant': 'Unicode'
120
- 'value': ClassUnicode
120
+ '@values': [ClassUnicode]
121
121
  }
122
122
 
123
123
  export type ClassByteVariant = {
124
124
  '@type': 'struct'
125
125
  '@name': 'regex_syntax::hir::Class'
126
126
  '@variant': 'Bytes'
127
- 'value': ClassBytes
127
+ '@values': [ClassBytes]
128
128
  }
129
129
 
130
130
 
@@ -265,7 +265,7 @@ export type RepetitionKindRangeVariant = {
265
265
  '@type': 'struct'
266
266
  '@name': 'regex_syntax::hir::Repetition'
267
267
  '@variant': 'Range'
268
- value: RepetitionRange
268
+ '@values': [RepetitionRange]
269
269
  }
270
270
 
271
271
 
@@ -279,21 +279,21 @@ export type RepetitionRangeExactlyVariant = {
279
279
  '@type': 'struct'
280
280
  '@name': 'regex_syntax::hir::RepetitionRange'
281
281
  '@variant': 'Exactly'
282
- value: number
282
+ '@values': [number]
283
283
  }
284
284
 
285
285
  export type RepetitionRangeAtLeastVariant = {
286
286
  '@type': 'struct'
287
287
  '@name': 'regex_syntax::hir::RepetitionRange'
288
288
  '@variant': 'AtLeast'
289
- value: number
289
+ '@values': [number]
290
290
  }
291
291
 
292
292
  export type RepetitionRangeBoundedVariant = {
293
293
  '@type': 'struct'
294
294
  '@name': 'regex_syntax::hir::RepetitionRange'
295
295
  '@variant': 'Bounded'
296
- value: [number, number]
296
+ '@values': [number, number]
297
297
  }
298
298
 
299
299
 
package/lib/commonjs.d.ts CHANGED
@@ -35,56 +35,56 @@ export type HirKindLiteralVariant = {
35
35
  '@type': 'struct'
36
36
  '@name': 'regex_syntax::hir::HirKind'
37
37
  '@variant': 'Literal'
38
- 'value': Literal
38
+ '@values': [Literal]
39
39
  }
40
40
 
41
41
  export type HirKindClassVariant = {
42
42
  '@type': 'struct'
43
43
  '@name': 'regex_syntax::hir::HirKind'
44
44
  '@variant': 'Class'
45
- 'value': Class
45
+ '@values': [Class]
46
46
  }
47
47
 
48
48
  export type HirKindAnchorVariant = {
49
49
  '@type': 'struct'
50
50
  '@name': 'regex_syntax::hir::HirKind'
51
51
  '@variant': 'Anchor'
52
- 'value': Anchor
52
+ '@values': [Anchor]
53
53
  }
54
54
 
55
55
  export type HirKindWordBoundaryVariant = {
56
56
  '@type': 'struct'
57
57
  '@name': 'regex_syntax::hir::HirKind'
58
58
  '@variant': 'WordBoundary'
59
- 'value': WordBoundary
59
+ '@values': [WordBoundary]
60
60
  }
61
61
 
62
62
  export type HirKindRepetitionVariant = {
63
63
  '@type': 'struct'
64
64
  '@name': 'regex_syntax::hir::HirKind'
65
65
  '@variant': 'Repetition'
66
- 'value': Repetition
66
+ '@values': [Repetition]
67
67
  }
68
68
 
69
69
  export type HirKindGroupVariant = {
70
70
  '@type': 'struct'
71
71
  '@name': 'regex_syntax::hir::HirKind'
72
72
  '@variant': 'Group'
73
- 'value': Group
73
+ '@values': [Group]
74
74
  }
75
75
 
76
76
  export type HirKindConcatVariant = {
77
77
  '@type': 'struct'
78
78
  '@name': 'regex_syntax::hir::HirKind'
79
79
  '@variant': 'Concat'
80
- 'value': Hir[]
80
+ '@values': [Hir[]]
81
81
  }
82
82
 
83
83
  export type HirKindAlternationVariant = {
84
84
  '@type': 'struct'
85
85
  '@name': 'regex_syntax::hir::HirKind'
86
86
  '@variant': 'Alternation'
87
- 'value': Hir[]
87
+ '@values': [Hir[]]
88
88
  }
89
89
 
90
90
 
@@ -97,14 +97,14 @@ export type LiteralUnicodeVariant = {
97
97
  '@type': 'struct'
98
98
  '@name': 'regex_syntax::hir::Literal'
99
99
  '@variant': 'Unicode'
100
- 'value': string
100
+ '@values': [string]
101
101
  }
102
102
 
103
103
  export type LiteralByteVariant = {
104
104
  '@type': 'struct'
105
105
  '@name': 'regex_syntax::hir::Literal'
106
106
  '@variant': 'Byte'
107
- 'value': number
107
+ '@values': [number]
108
108
  }
109
109
 
110
110
 
@@ -117,14 +117,14 @@ export type ClassUnicodeVariant = {
117
117
  '@type': 'struct'
118
118
  '@name': 'regex_syntax::hir::Class'
119
119
  '@variant': 'Unicode'
120
- 'value': ClassUnicode
120
+ '@values': [ClassUnicode]
121
121
  }
122
122
 
123
123
  export type ClassByteVariant = {
124
124
  '@type': 'struct'
125
125
  '@name': 'regex_syntax::hir::Class'
126
126
  '@variant': 'Bytes'
127
- 'value': ClassBytes
127
+ '@values': [ClassBytes]
128
128
  }
129
129
 
130
130
 
@@ -265,7 +265,7 @@ export type RepetitionKindRangeVariant = {
265
265
  '@type': 'struct'
266
266
  '@name': 'regex_syntax::hir::Repetition'
267
267
  '@variant': 'Range'
268
- value: RepetitionRange
268
+ '@values': [RepetitionRange]
269
269
  }
270
270
 
271
271
 
@@ -279,21 +279,21 @@ export type RepetitionRangeExactlyVariant = {
279
279
  '@type': 'struct'
280
280
  '@name': 'regex_syntax::hir::RepetitionRange'
281
281
  '@variant': 'Exactly'
282
- value: number
282
+ '@values': [number]
283
283
  }
284
284
 
285
285
  export type RepetitionRangeAtLeastVariant = {
286
286
  '@type': 'struct'
287
287
  '@name': 'regex_syntax::hir::RepetitionRange'
288
288
  '@variant': 'AtLeast'
289
- value: number
289
+ '@values': [number]
290
290
  }
291
291
 
292
292
  export type RepetitionRangeBoundedVariant = {
293
293
  '@type': 'struct'
294
294
  '@name': 'regex_syntax::hir::RepetitionRange'
295
295
  '@variant': 'Bounded'
296
- value: [number, number]
296
+ '@values': [number, number]
297
297
  }
298
298
 
299
299
 
package/lib/module.d.ts CHANGED
@@ -35,56 +35,56 @@ export type HirKindLiteralVariant = {
35
35
  '@type': 'struct'
36
36
  '@name': 'regex_syntax::hir::HirKind'
37
37
  '@variant': 'Literal'
38
- 'value': Literal
38
+ '@values': [Literal]
39
39
  }
40
40
 
41
41
  export type HirKindClassVariant = {
42
42
  '@type': 'struct'
43
43
  '@name': 'regex_syntax::hir::HirKind'
44
44
  '@variant': 'Class'
45
- 'value': Class
45
+ '@values': [Class]
46
46
  }
47
47
 
48
48
  export type HirKindAnchorVariant = {
49
49
  '@type': 'struct'
50
50
  '@name': 'regex_syntax::hir::HirKind'
51
51
  '@variant': 'Anchor'
52
- 'value': Anchor
52
+ '@values': [Anchor]
53
53
  }
54
54
 
55
55
  export type HirKindWordBoundaryVariant = {
56
56
  '@type': 'struct'
57
57
  '@name': 'regex_syntax::hir::HirKind'
58
58
  '@variant': 'WordBoundary'
59
- 'value': WordBoundary
59
+ '@values': [WordBoundary]
60
60
  }
61
61
 
62
62
  export type HirKindRepetitionVariant = {
63
63
  '@type': 'struct'
64
64
  '@name': 'regex_syntax::hir::HirKind'
65
65
  '@variant': 'Repetition'
66
- 'value': Repetition
66
+ '@values': [Repetition]
67
67
  }
68
68
 
69
69
  export type HirKindGroupVariant = {
70
70
  '@type': 'struct'
71
71
  '@name': 'regex_syntax::hir::HirKind'
72
72
  '@variant': 'Group'
73
- 'value': Group
73
+ '@values': [Group]
74
74
  }
75
75
 
76
76
  export type HirKindConcatVariant = {
77
77
  '@type': 'struct'
78
78
  '@name': 'regex_syntax::hir::HirKind'
79
79
  '@variant': 'Concat'
80
- 'value': Hir[]
80
+ '@values': [Hir[]]
81
81
  }
82
82
 
83
83
  export type HirKindAlternationVariant = {
84
84
  '@type': 'struct'
85
85
  '@name': 'regex_syntax::hir::HirKind'
86
86
  '@variant': 'Alternation'
87
- 'value': Hir[]
87
+ '@values': [Hir[]]
88
88
  }
89
89
 
90
90
 
@@ -97,14 +97,14 @@ export type LiteralUnicodeVariant = {
97
97
  '@type': 'struct'
98
98
  '@name': 'regex_syntax::hir::Literal'
99
99
  '@variant': 'Unicode'
100
- 'value': string
100
+ '@values': [string]
101
101
  }
102
102
 
103
103
  export type LiteralByteVariant = {
104
104
  '@type': 'struct'
105
105
  '@name': 'regex_syntax::hir::Literal'
106
106
  '@variant': 'Byte'
107
- 'value': number
107
+ '@values': [number]
108
108
  }
109
109
 
110
110
 
@@ -117,14 +117,14 @@ export type ClassUnicodeVariant = {
117
117
  '@type': 'struct'
118
118
  '@name': 'regex_syntax::hir::Class'
119
119
  '@variant': 'Unicode'
120
- 'value': ClassUnicode
120
+ '@values': [ClassUnicode]
121
121
  }
122
122
 
123
123
  export type ClassByteVariant = {
124
124
  '@type': 'struct'
125
125
  '@name': 'regex_syntax::hir::Class'
126
126
  '@variant': 'Bytes'
127
- 'value': ClassBytes
127
+ '@values': [ClassBytes]
128
128
  }
129
129
 
130
130
 
@@ -265,7 +265,7 @@ export type RepetitionKindRangeVariant = {
265
265
  '@type': 'struct'
266
266
  '@name': 'regex_syntax::hir::Repetition'
267
267
  '@variant': 'Range'
268
- value: RepetitionRange
268
+ '@values': [RepetitionRange]
269
269
  }
270
270
 
271
271
 
@@ -279,21 +279,21 @@ export type RepetitionRangeExactlyVariant = {
279
279
  '@type': 'struct'
280
280
  '@name': 'regex_syntax::hir::RepetitionRange'
281
281
  '@variant': 'Exactly'
282
- value: number
282
+ '@values': [number]
283
283
  }
284
284
 
285
285
  export type RepetitionRangeAtLeastVariant = {
286
286
  '@type': 'struct'
287
287
  '@name': 'regex_syntax::hir::RepetitionRange'
288
288
  '@variant': 'AtLeast'
289
- value: number
289
+ '@values': [number]
290
290
  }
291
291
 
292
292
  export type RepetitionRangeBoundedVariant = {
293
293
  '@type': 'struct'
294
294
  '@name': 'regex_syntax::hir::RepetitionRange'
295
295
  '@variant': 'Bounded'
296
- value: [number, number]
296
+ '@values': [number, number]
297
297
  }
298
298
 
299
299
 
package/lib/rregex.wasm CHANGED
Binary file
package/lib/types.d.ts CHANGED
@@ -35,56 +35,56 @@ export type HirKindLiteralVariant = {
35
35
  '@type': 'struct'
36
36
  '@name': 'regex_syntax::hir::HirKind'
37
37
  '@variant': 'Literal'
38
- 'value': Literal
38
+ '@values': [Literal]
39
39
  }
40
40
 
41
41
  export type HirKindClassVariant = {
42
42
  '@type': 'struct'
43
43
  '@name': 'regex_syntax::hir::HirKind'
44
44
  '@variant': 'Class'
45
- 'value': Class
45
+ '@values': [Class]
46
46
  }
47
47
 
48
48
  export type HirKindAnchorVariant = {
49
49
  '@type': 'struct'
50
50
  '@name': 'regex_syntax::hir::HirKind'
51
51
  '@variant': 'Anchor'
52
- 'value': Anchor
52
+ '@values': [Anchor]
53
53
  }
54
54
 
55
55
  export type HirKindWordBoundaryVariant = {
56
56
  '@type': 'struct'
57
57
  '@name': 'regex_syntax::hir::HirKind'
58
58
  '@variant': 'WordBoundary'
59
- 'value': WordBoundary
59
+ '@values': [WordBoundary]
60
60
  }
61
61
 
62
62
  export type HirKindRepetitionVariant = {
63
63
  '@type': 'struct'
64
64
  '@name': 'regex_syntax::hir::HirKind'
65
65
  '@variant': 'Repetition'
66
- 'value': Repetition
66
+ '@values': [Repetition]
67
67
  }
68
68
 
69
69
  export type HirKindGroupVariant = {
70
70
  '@type': 'struct'
71
71
  '@name': 'regex_syntax::hir::HirKind'
72
72
  '@variant': 'Group'
73
- 'value': Group
73
+ '@values': [Group]
74
74
  }
75
75
 
76
76
  export type HirKindConcatVariant = {
77
77
  '@type': 'struct'
78
78
  '@name': 'regex_syntax::hir::HirKind'
79
79
  '@variant': 'Concat'
80
- 'value': Hir[]
80
+ '@values': [Hir[]]
81
81
  }
82
82
 
83
83
  export type HirKindAlternationVariant = {
84
84
  '@type': 'struct'
85
85
  '@name': 'regex_syntax::hir::HirKind'
86
86
  '@variant': 'Alternation'
87
- 'value': Hir[]
87
+ '@values': [Hir[]]
88
88
  }
89
89
 
90
90
 
@@ -97,14 +97,14 @@ export type LiteralUnicodeVariant = {
97
97
  '@type': 'struct'
98
98
  '@name': 'regex_syntax::hir::Literal'
99
99
  '@variant': 'Unicode'
100
- 'value': string
100
+ '@values': [string]
101
101
  }
102
102
 
103
103
  export type LiteralByteVariant = {
104
104
  '@type': 'struct'
105
105
  '@name': 'regex_syntax::hir::Literal'
106
106
  '@variant': 'Byte'
107
- 'value': number
107
+ '@values': [number]
108
108
  }
109
109
 
110
110
 
@@ -117,14 +117,14 @@ export type ClassUnicodeVariant = {
117
117
  '@type': 'struct'
118
118
  '@name': 'regex_syntax::hir::Class'
119
119
  '@variant': 'Unicode'
120
- 'value': ClassUnicode
120
+ '@values': [ClassUnicode]
121
121
  }
122
122
 
123
123
  export type ClassByteVariant = {
124
124
  '@type': 'struct'
125
125
  '@name': 'regex_syntax::hir::Class'
126
126
  '@variant': 'Bytes'
127
- 'value': ClassBytes
127
+ '@values': [ClassBytes]
128
128
  }
129
129
 
130
130
 
@@ -265,7 +265,7 @@ export type RepetitionKindRangeVariant = {
265
265
  '@type': 'struct'
266
266
  '@name': 'regex_syntax::hir::Repetition'
267
267
  '@variant': 'Range'
268
- value: RepetitionRange
268
+ '@values': [RepetitionRange]
269
269
  }
270
270
 
271
271
 
@@ -279,21 +279,21 @@ export type RepetitionRangeExactlyVariant = {
279
279
  '@type': 'struct'
280
280
  '@name': 'regex_syntax::hir::RepetitionRange'
281
281
  '@variant': 'Exactly'
282
- value: number
282
+ '@values': [number]
283
283
  }
284
284
 
285
285
  export type RepetitionRangeAtLeastVariant = {
286
286
  '@type': 'struct'
287
287
  '@name': 'regex_syntax::hir::RepetitionRange'
288
288
  '@variant': 'AtLeast'
289
- value: number
289
+ '@values': [number]
290
290
  }
291
291
 
292
292
  export type RepetitionRangeBoundedVariant = {
293
293
  '@type': 'struct'
294
294
  '@name': 'regex_syntax::hir::RepetitionRange'
295
295
  '@variant': 'Bounded'
296
- value: [number, number]
296
+ '@values': [number, number]
297
297
  }
298
298
 
299
299
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rregex",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "Rust Regex binding for Javascript",
5
5
  "private": false,
6
6
  "main": "./lib/commonjs.js",