@t007/input 0.0.33 → 0.0.35

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.
@@ -24,7 +24,7 @@
24
24
  return el;
25
25
  }
26
26
 
27
- // ../../../sia-reactor/dist/chunk-SHWIAQD2.js
27
+ // ../../../sia-reactor/dist/chunk-WYSENFHG.js
28
28
  var RTR_BATCH = "undefined" !== typeof window ? ("undefined" !== typeof queueMicrotask ? queueMicrotask : setTimeout).bind(window) : "undefined" !== typeof process && process.nextTick ? process.nextTick : setTimeout;
29
29
  var RTR_LOG = console.log.bind(console, "[S.I.A Reactor]");
30
30
  var NIL = Object.freeze({});
@@ -34,7 +34,7 @@
34
34
  } catch (e) {
35
35
  }
36
36
 
37
- // ../utils/dist/chunk-ZALPHCSJ.js
37
+ // ../utils/dist/chunk-ZOFWWRKV.js
38
38
  var INTERACTIVE_SELECTOR = ":is(button,[href],input:not([type='hidden']),select,textarea,details>summary,[contenteditable],iframe,audio[controls],video[controls],[tabindex]):not([disabled],[tabindex='-1'],[data-focus-guard],[inert],[inert] *)";
39
39
  var VIRTUAL_RESOURCE = /* @__PURE__ */ Symbol.for("T007_VIRTUAL_RESOURCE");
40
40
  function loadResource(req, type = "style", { module, media, crossOrigin, integrity, referrerPolicy, nonce, fetchPriority, attempts = 3, retryKey = false } = {}, win = window) {
@@ -53,7 +53,7 @@
53
53
  console.warn(`Retrying ${type} load for "${src}" (${attempts - remaining + 1})...`);
54
54
  } else {
55
55
  delete win.t007._resourceCache[src];
56
- reject(new Error(`${capitalize(type)} load failed for "${src}" after ${attempts - 1} attempts`));
56
+ reject(new Error(`${capitalize(type)} load failed for "${src}"`));
57
57
  }
58
58
  };
59
59
  const url = retryKey && remaining < attempts ? `${src}${src.includes("?") ? "&" : "?"}_${retryKey}=${Date.now()}` : src;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t007/input",
3
- "version": "0.0.33",
3
+ "version": "0.0.35",
4
4
  "description": "A lightweight, pure JS input system.",
5
5
  "author": "Oketade Oluwatobiloba <tobioketade007@gmail.com>",
6
6
  "license": "MIT",
@@ -69,7 +69,7 @@
69
69
  "react-dom": "^18.3.1"
70
70
  },
71
71
  "dependencies": {
72
- "@t007/utils": "^0.0.35"
72
+ "@t007/utils": "^0.0.37"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "react": "^18.0.0"