malinajs 0.7.6 → 0.7.7

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.
Files changed (2) hide show
  1. package/malina.js +2 -2
  2. package/package.json +1 -1
package/malina.js CHANGED
@@ -889,7 +889,7 @@
889
889
  assert(pattern.source[0] == '^');
890
890
  const rx = this.source.substring(this.index).match(pattern);
891
891
  assert(rx && rx.index == 0, 'Wrong syntax');
892
- let r = rx[1] || rx[0];
892
+ let r = rx[rx.length-1];
893
893
  this.index += rx[0].length;
894
894
  return r;
895
895
  } else throw 'Not implemented';
@@ -6865,7 +6865,7 @@
6865
6865
  });
6866
6866
  }
6867
6867
 
6868
- const version = '0.7.6';
6868
+ const version = '0.7.7';
6869
6869
 
6870
6870
 
6871
6871
  async function compile(source, config = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "malinajs",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "build": "npm run build_runtime && rollup -c",