@digipair/skill-web-jsoneditor 0.41.2 → 0.41.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.
Files changed (2) hide show
  1. package/index.cjs.js +5 -5
  2. package/package.json +1 -1
package/index.cjs.js CHANGED
@@ -41378,7 +41378,7 @@ function findNextOccurrence(state, query) {
41378
41378
  var _loop = function(cycled1, cursor1) {
41379
41379
  cursor1.next();
41380
41380
  if (cursor1.done) {
41381
- if (cycled1) return cursor = cursor1, cycled = cycled1, {
41381
+ if (cycled1) return cycled = cycled1, cursor = cursor1, {
41382
41382
  v: null
41383
41383
  };
41384
41384
  cursor1 = new SearchCursor(state.doc, query, 0, Math.max(0, ranges[ranges.length - 1].from - 1));
@@ -41386,16 +41386,16 @@ function findNextOccurrence(state, query) {
41386
41386
  } else {
41387
41387
  if (cycled1 && ranges.some(function(r) {
41388
41388
  return r.from == cursor1.value.from;
41389
- })) return cursor = cursor1, cycled = cycled1, "continue";
41389
+ })) return cycled = cycled1, cursor = cursor1, "continue";
41390
41390
  if (fullWord) {
41391
41391
  var word = state.wordAt(cursor1.value.from);
41392
- if (!word || word.from != cursor1.value.from || word.to != cursor1.value.to) return cursor = cursor1, cycled = cycled1, "continue";
41392
+ if (!word || word.from != cursor1.value.from || word.to != cursor1.value.to) return cycled = cycled1, cursor = cursor1, "continue";
41393
41393
  }
41394
- return cursor = cursor1, cycled = cycled1, {
41394
+ return cycled = cycled1, cursor = cursor1, {
41395
41395
  v: cursor1.value
41396
41396
  };
41397
41397
  }
41398
- cursor = cursor1, cycled = cycled1;
41398
+ cycled = cycled1, cursor = cursor1;
41399
41399
  };
41400
41400
  var _state_selection = state.selection, main = _state_selection.main, ranges = _state_selection.ranges;
41401
41401
  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.41.2",
3
+ "version": "0.41.4",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"