@mmmnt/feat-grammar 0.4.0 → 0.6.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), `f32` and `sha256` (in the digest form, ADR-0030), `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, or as a list item, ADR-0027 and ADR-0034), `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 |
@@ -308,7 +308,7 @@
308
308
  "name": "support.function.matcher.feat"
309
309
  },
310
310
  {
311
- "match": "(?<=:)\\s*\\b(not)\\b(?=[ \\t])",
311
+ "match": "(?:(?<=[:\\[])|(?<=,)(?=\\s*not[ \\t]+(?:[\"@<\\[0-9-]|any\\b|matching\\b|true\\b|false\\b|null\\b)))\\s*\\b(not)\\b(?=[ \\t])",
312
312
  "captures": {
313
313
  "1": {
314
314
  "name": "support.function.matcher.feat"
@@ -329,6 +329,14 @@
329
329
  {
330
330
  "match": "\\b(equals fixture)\\b",
331
331
  "name": "support.function.matcher.feat"
332
+ },
333
+ {
334
+ "match": "(?<=[A-Za-z0-9_][ \\t])(partial)\\b(?=[ \\t]*\\{)",
335
+ "captures": {
336
+ "1": {
337
+ "name": "support.function.matcher.feat"
338
+ }
339
+ }
332
340
  }
333
341
  ]
334
342
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mmmnt/feat-grammar",
3
- "version": "0.4.0",
3
+ "version": "0.6.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",