@digipair/skill-web-jsoneditor 0.20.1 → 0.21.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.
Files changed (2) hide show
  1. package/index.esm.js +5 -5
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -41073,7 +41073,7 @@ function findNextOccurrence(state, query) {
41073
41073
  var _loop = function(cycled1, cursor1) {
41074
41074
  cursor1.next();
41075
41075
  if (cursor1.done) {
41076
- if (cycled1) return cycled = cycled1, cursor = cursor1, {
41076
+ if (cycled1) return cursor = cursor1, cycled = cycled1, {
41077
41077
  v: null
41078
41078
  };
41079
41079
  cursor1 = new SearchCursor(state.doc, query, 0, Math.max(0, ranges[ranges.length - 1].from - 1));
@@ -41081,16 +41081,16 @@ function findNextOccurrence(state, query) {
41081
41081
  } else {
41082
41082
  if (cycled1 && ranges.some(function(r) {
41083
41083
  return r.from == cursor1.value.from;
41084
- })) return cycled = cycled1, cursor = cursor1, "continue";
41084
+ })) return cursor = cursor1, cycled = cycled1, "continue";
41085
41085
  if (fullWord) {
41086
41086
  var word = state.wordAt(cursor1.value.from);
41087
- if (!word || word.from != cursor1.value.from || word.to != cursor1.value.to) return cycled = cycled1, cursor = cursor1, "continue";
41087
+ if (!word || word.from != cursor1.value.from || word.to != cursor1.value.to) return cursor = cursor1, cycled = cycled1, "continue";
41088
41088
  }
41089
- return cycled = cycled1, cursor = cursor1, {
41089
+ return cursor = cursor1, cycled = cycled1, {
41090
41090
  v: cursor1.value
41091
41091
  };
41092
41092
  }
41093
- cycled = cycled1, cursor = cursor1;
41093
+ cursor = cursor1, cycled = cycled1;
41094
41094
  };
41095
41095
  var _state_selection = state.selection, main = _state_selection.main, ranges = _state_selection.ranges;
41096
41096
  var word = state.wordAt(main.head), fullWord = word && word.from == main.from && word.to == main.to;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web-jsoneditor",
3
- "version": "0.20.1",
3
+ "version": "0.21.0",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"