@gmb/bitmark-parser-generator 5.31.0 → 5.31.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/dist/index.cjs CHANGED
@@ -3310,10 +3310,17 @@ var CARDSETS = {
3310
3310
  ]
3311
3311
  },
3312
3312
  {
3313
+ // matchMatrix cells are NESTED (`cells[$s]`), unlike matchPairs'
3314
+ // flat pair object — so `isCaseSensitive` must be written INTO the
3315
+ // cell, mirroring the sibling `example` rule above (`cells: { $s:
3316
+ // {...} }`). The earlier flat `{ isCaseSensitive: '$' }` (copied
3317
+ // from matchPairs) wrote at bit scope, so an authored cell-side
3318
+ // `[@isCaseSensitive:false]` (e.g. on a `++` value) was dropped
3319
+ // instead of landing on the cell. PLAN-122.
3313
3320
  key: ConfigKey.property_isCaseSensitive,
3314
3321
  exportJsonKey: [
3315
- { "@absent": { isCaseSensitive: "$ancestor" } },
3316
- { isCaseSensitive: "$" }
3322
+ { "@absent": { cells: { $s: { isCaseSensitive: "$ancestor" } } } },
3323
+ { cells: { $s: { isCaseSensitive: "$" } } }
3317
3324
  ],
3318
3325
  description: "Property to indicate if the match is case sensitive.",
3319
3326
  format: TagFormat.boolean
@@ -13970,7 +13977,7 @@ var instance2 = new Config();
13970
13977
  // src/generated/package_info.ts
13971
13978
  var PACKAGE_INFO = {
13972
13979
  "name": "@gmb/bitmark-parser-generator",
13973
- "version": "5.31.0",
13980
+ "version": "5.31.1",
13974
13981
  "author": "Get More Brain Ltd",
13975
13982
  "license": "ISC",
13976
13983
  "description": "A bitmark parser and generator using Peggy.js"
@@ -25872,6 +25879,7 @@ function peg$parse(input, options) {
25872
25879
  return s0;
25873
25880
  }
25874
25881
  var indentStack = [], indent = "";
25882
+ input = input.replace(/\s+$/, "");
25875
25883
  input = input.trimStart();
25876
25884
  peg$result = peg$startRuleFunction();
25877
25885
  const peg$success = peg$result !== peg$FAILED && peg$currPos === input.length;