@mmmnt/feat-grammar 0.2.0 → 0.3.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/README.md CHANGED
@@ -133,7 +133,7 @@ spec reads as structure.
133
133
  | `entity.name.type.schema.feat` | the schema name after `response` status, and after `with` |
134
134
  | `variable.other.service.feat`, `keyword.other.assertion.feat`, `entity.name.type.record.feat` | the service key; `has` and `contains`; the record type (`INSERT`, `OrderPlaced`, ...) |
135
135
  | `keyword.other.with.feat`, `keyword.other.ordering.feat` | `with`; `ordered`, `unordered` |
136
- | `support.function.matcher.feat`, `support.type.matcher.feat` | `any`, `matching`, `absent`, `not` (in a field's value position, ADR-0027), `equals fixture`; the `uuid`, `timestamp`, `string`, `number`, `boolean` qualifiers |
136
+ | `support.function.matcher.feat`, `support.type.matcher.feat` | `any`, `matching`, `absent`, `not` (in a field's value position, ADR-0027), `f32` and `sha256` (in the digest form, ADR-0030), `equals fixture`; the `uuid`, `timestamp`, `string`, `number`, `boolean` qualifiers |
137
137
  | `variable.language.stimulus-ref.feat` | `@when.email`, `@deliver[1].orderId`, `@payments[0].id` |
138
138
  | `variable.parameter.placeholder.feat` | outline placeholders such as `<email>` |
139
139
  | `string.quoted.double.feat`, `constant.numeric.feat` | string and number literals, including a response's status code |
@@ -295,6 +295,17 @@
295
295
  }
296
296
  }
297
297
  },
298
+ {
299
+ "match": "\\b(f32)[ \\t]+[0-9]+[ \\t]+(sha256)\\b(?=[ \\t]+\")",
300
+ "captures": {
301
+ "1": {
302
+ "name": "support.function.matcher.feat"
303
+ },
304
+ "2": {
305
+ "name": "support.function.matcher.feat"
306
+ }
307
+ }
308
+ },
298
309
  {
299
310
  "match": "\\b(equals fixture)\\b",
300
311
  "name": "support.function.matcher.feat"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mmmnt/feat-grammar",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "TextMate grammar for the .feat execution specification language — powers editor extensions, Shiki, and any TextMate-compatible highlighter",
5
5
  "type": "module",
6
6
  "main": "index.js",