@interopio/search-api 2.3.1 → 2.3.3

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.
@@ -4,14 +4,13 @@
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global["search-api"] = factory());
5
5
  })(this, (function () { 'use strict';
6
6
 
7
- const urlAlphabet =
7
+ let urlAlphabet =
8
8
  'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
9
-
10
9
  let nanoid = (size = 21) => {
11
10
  let id = '';
12
- let bytes = crypto.getRandomValues(new Uint8Array(size));
13
- while (size--) {
14
- id += urlAlphabet[bytes[size] & 63];
11
+ let i = size;
12
+ while (i--) {
13
+ id += urlAlphabet[(Math.random() * 64) | 0];
15
14
  }
16
15
  return id
17
16
  };
@@ -1747,7 +1746,7 @@
1747
1746
  }
1748
1747
  }
1749
1748
 
1750
- var version = "2.3.1";
1749
+ var version = "2.3.3";
1751
1750
 
1752
1751
  class SearchFacade {
1753
1752
  main;