@bpmn-io/form-js-playground 0.9.3 → 0.9.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.
@@ -34368,7 +34368,7 @@ meta: meta$1,/// [Metadata](#highlight.tags.meta) that applies to the entire
34368
34368
  this.re = new RegExp(query, baseFlags + ((options === null || options === void 0 ? void 0 : options.ignoreCase) ? "i" : ""));
34369
34369
  this.test = options === null || options === void 0 ? void 0 : options.test;
34370
34370
  this.flat = FlattenedDoc.get(text, from, this.chunkEnd(from + 5000
34371
- /* Base */
34371
+ /* Chunk.Base */
34372
34372
  ));
34373
34373
  }
34374
34374
 
@@ -34825,7 +34825,7 @@ meta: meta$1,/// [Metadata](#highlight.tags.meta) that applies to the entire
34825
34825
  buf = doc.sliceString(bufPos, Math.min(doc.length, to + 2));
34826
34826
  }
34827
34827
 
34828
- return categorizer(charAfter(buf, from - bufPos)) != CharCategory.Word || categorizer(charBefore(buf, to - bufPos)) != CharCategory.Word || categorizer(charBefore(buf, from - bufPos)) != CharCategory.Word && categorizer(charAfter(buf, to - bufPos)) != CharCategory.Word;
34828
+ return (categorizer(charBefore(buf, from - bufPos)) != CharCategory.Word || categorizer(charAfter(buf, from - bufPos)) != CharCategory.Word) && (categorizer(charAfter(buf, to - bufPos)) != CharCategory.Word || categorizer(charBefore(buf, to - bufPos)) != CharCategory.Word);
34829
34829
  };
34830
34830
  }
34831
34831
 
@@ -34845,7 +34845,7 @@ meta: meta$1,/// [Metadata](#highlight.tags.meta) that applies to the entire
34845
34845
  prevMatchInRange(state, from, to) {
34846
34846
  for (let pos = to;;) {
34847
34847
  let start = Math.max(from, pos - 10000
34848
- /* ChunkSize */
34848
+ /* FindPrev.ChunkSize */
34849
34849
  - this.spec.unquoted.length);
34850
34850
  let cursor = stringCursor(this.spec, state, start, pos),
34851
34851
  range = null;
@@ -34855,7 +34855,7 @@ meta: meta$1,/// [Metadata](#highlight.tags.meta) that applies to the entire
34855
34855
  if (range) return range;
34856
34856
  if (start == from) return null;
34857
34857
  pos -= 10000
34858
- /* ChunkSize */
34858
+ /* FindPrev.ChunkSize */
34859
34859
  ;
34860
34860
  }
34861
34861
  }
@@ -34904,7 +34904,7 @@ meta: meta$1,/// [Metadata](#highlight.tags.meta) that applies to the entire
34904
34904
  }
34905
34905
 
34906
34906
  function regexpWordTest(categorizer) {
34907
- return (_from, _to, match) => !match[0].length || categorizer(charAfter(match.input, match.index)) != CharCategory.Word || categorizer(charBefore(match.input, match.index + match[0].length)) != CharCategory.Word || categorizer(charBefore(match.input, match.index)) != CharCategory.Word && categorizer(charAfter(match.input, match.index + match[0].length)) != CharCategory.Word;
34907
+ return (_from, _to, match) => !match[0].length || (categorizer(charBefore(match.input, match.index)) != CharCategory.Word || categorizer(charAfter(match.input, match.index)) != CharCategory.Word) && (categorizer(charAfter(match.input, match.index + match[0].length)) != CharCategory.Word || categorizer(charBefore(match.input, match.index + match[0].length)) != CharCategory.Word);
34908
34908
  }
34909
34909
 
34910
34910
  class RegExpQuery extends QueryType {
@@ -34917,7 +34917,7 @@ meta: meta$1,/// [Metadata](#highlight.tags.meta) that applies to the entire
34917
34917
  prevMatchInRange(state, from, to) {
34918
34918
  for (let size = 1;; size++) {
34919
34919
  let start = Math.max(from, to - size * 10000
34920
- /* ChunkSize */
34920
+ /* FindPrev.ChunkSize */
34921
34921
  );
34922
34922
  let cursor = regexpCursor(this.spec, state, start, to),
34923
34923
  range = null;
@@ -34951,9 +34951,9 @@ meta: meta$1,/// [Metadata](#highlight.tags.meta) that applies to the entire
34951
34951
 
34952
34952
  highlight(state, from, to, add) {
34953
34953
  let cursor = regexpCursor(this.spec, state, Math.max(0, from - 250
34954
- /* HighlightMargin */
34954
+ /* RegExp.HighlightMargin */
34955
34955
  ), Math.min(to + 250
34956
- /* HighlightMargin */
34956
+ /* RegExp.HighlightMargin */
34957
34957
  , state.doc.length));
34958
34958
 
34959
34959
  while (!cursor.next().done) add(cursor.value.from, cursor.value.to);
@@ -35029,7 +35029,7 @@ meta: meta$1,/// [Metadata](#highlight.tags.meta) that applies to the entire
35029
35029
  } = ranges[i];
35030
35030
 
35031
35031
  while (i < l - 1 && to > ranges[i + 1].from - 2 * 250
35032
- /* HighlightMargin */
35032
+ /* RegExp.HighlightMargin */
35033
35033
  ) to = ranges[++i].to;
35034
35034
 
35035
35035
  query.highlight(view.state, from, to, (from, to) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmn-io/form-js-playground",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "A form-js playground",
5
5
  "files": [
6
6
  "dist"
@@ -44,8 +44,8 @@
44
44
  "url": "https://github.com/bpmn-io"
45
45
  },
46
46
  "dependencies": {
47
- "@bpmn-io/form-js-editor": "^0.9.3",
48
- "@bpmn-io/form-js-viewer": "^0.9.1",
47
+ "@bpmn-io/form-js-editor": "^0.9.4",
48
+ "@bpmn-io/form-js-viewer": "^0.9.4",
49
49
  "@codemirror/lang-json": "^6.0.0",
50
50
  "@codemirror/state": "^6.1.1",
51
51
  "@codemirror/view": "^6.2.0",
@@ -66,5 +66,5 @@
66
66
  "rollup-plugin-css-only": "^3.1.0",
67
67
  "style-loader": "^3.3.0"
68
68
  },
69
- "gitHead": "30da0941eeabb3219cf5fa43728ceff6b2328449"
69
+ "gitHead": "d899fc668437a0a515f68d7c3a7d0360dae69374"
70
70
  }