@interopio/browser-worker 4.5.0 → 5.0.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.
package/dist/web.worker.es.js
CHANGED
|
@@ -868,13 +868,13 @@ var webWorkerConfigDecoder = object({
|
|
|
868
868
|
}))
|
|
869
869
|
});
|
|
870
870
|
|
|
871
|
-
/* @ts-self-types="./index.d.ts" */
|
|
872
871
|
let urlAlphabet =
|
|
873
872
|
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
|
|
873
|
+
|
|
874
874
|
let nanoid = (size = 21) => {
|
|
875
875
|
let id = '';
|
|
876
876
|
let i = size | 0;
|
|
877
|
-
while (i--) {
|
|
877
|
+
while (i-- > 0) {
|
|
878
878
|
id += urlAlphabet[(Math.random() * 64) | 0];
|
|
879
879
|
}
|
|
880
880
|
return id
|