indexeddbshim 14.0.0 → 15.0.1
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/badges/licenses-badge-dev.svg +1 -1
- package/dist/indexeddbshim-Key.js +10 -3
- package/dist/indexeddbshim-Key.js.map +1 -1
- package/dist/indexeddbshim-Key.min.js +1 -1
- package/dist/indexeddbshim-Key.min.js.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers-node.cjs +72 -51
- package/dist/indexeddbshim-UnicodeIdentifiers-node.cjs.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.js +75 -52
- package/dist/indexeddbshim-UnicodeIdentifiers.js.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.min.js +2 -2
- package/dist/indexeddbshim-UnicodeIdentifiers.min.js.map +1 -1
- package/dist/indexeddbshim-node.cjs +72 -51
- package/dist/indexeddbshim-node.cjs.map +1 -1
- package/dist/indexeddbshim-noninvasive.js +75 -52
- package/dist/indexeddbshim-noninvasive.js.map +1 -1
- package/dist/indexeddbshim-noninvasive.min.js +2 -2
- package/dist/indexeddbshim-noninvasive.min.js.map +1 -1
- package/dist/indexeddbshim.js +75 -52
- package/dist/indexeddbshim.js.map +1 -1
- package/dist/indexeddbshim.min.js +2 -2
- package/dist/indexeddbshim.min.js.map +1 -1
- package/package.json +80 -81
- package/src/IDBDatabase.js +5 -0
- package/src/IDBFactory.js +10 -4
- package/src/Key.js +8 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="887" height="200"><defs><style>text{font-size:11px;font-family:Verdana,DejaVu Sans,Geneva,sans-serif}text.shadow{fill:#010101;fill-opacity:.3}text.high{fill:#fff}</style><linearGradient id="smooth" x2="0" y2="100%"><stop offset="0" stop-color="#aaa" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><mask id="round"><rect width="100%" height="100%" rx="3" fill="#fff"/></mask></defs><g id="bg" mask="url(#round)"><path fill="navy" d="M0 0h88v200H0z"/><path fill="#006400" d="M88 0h183v200H88z"/><path fill="green" d="M271 0h266v200H271z"/><path fill="#cc0" d="M537 0h108v200H537z"/><path fill="#a9a9a9" d="M645 0h109v200H645z"/><path fill="#d3d3d3" d="M754 0h133v200H754z"/><path fill="url(#smooth)" d="M0 0h887v200H0z"/></g><g id="fg"><text class="shadow" x="5.5" y="15">License types</text><text class="high" x="5" y="14">License types</text><text class="shadow" x="5.5" y="27">(all devDeps)</text><text class="high" x="5" y="26">(all devDeps)</text><text class="shadow" x="93.5" y="15">Public</text><text class="high" x="93" y="14">Public</text><text class="shadow" x="93.5" y="27">domain</text><text class="high" x="93" y="26">domain</text><text class="shadow" x="93.5" y="51">1. (MIT OR CC0-1.0)</text><text class="high" x="93" y="50">1. (MIT OR CC0-1.0)</text><text class="shadow" x="93.5" y="63">2. (Unlicense OR Apache-2.0)</text><text class="high" x="93" y="62">2. (Unlicense OR Apache-2.0)</text><text class="shadow" x="93.5" y="75">3. CC0-1.0</text><text class="high" x="93" y="74">3. CC0-1.0</text><text class="shadow" x="276.5" y="15">Permissive</text><text class="high" x="276" y="14">Permissive</text><text class="shadow" x="276.5" y="39">1. (BSD-2-Clause OR (MIT OR Apache-2.0))</text><text class="high" x="276" y="38">1. (BSD-2-Clause OR (MIT OR Apache-2.0))</text><text class="shadow" x="276.5" y="51">2. (MIT OR CC0-1.0)</text><text class="high" x="276" y="50">2. (MIT OR CC0-1.0)</text><text class="shadow" x="276.5" y="63">3. (MIT OR WTFPL)</text><text class="high" x="276" y="62">3. (MIT OR WTFPL)</text><text class="shadow" x="276.5" y="75">4. (Unlicense OR Apache-2.0)</text><text class="high" x="276" y="74">4. (Unlicense OR Apache-2.0)</text><text class="shadow" x="276.5" y="87">5. 0BSD</text><text class="high" x="276" y="86">5. 0BSD</text><text class="shadow" x="276.5" y="99">6. Apache-2.0</text><text class="high" x="276" y="98">6. Apache-2.0</text><text class="shadow" x="276.5" y="111">7. BSD-2-Clause</text><text class="high" x="276" y="110">7. BSD-2-Clause</text><text class="shadow" x="276.5" y="123">8. BSD-3-Clause</text><text class="high" x="276" y="122">8. BSD-3-Clause</text><text class="shadow" x="276.5" y="135">9. BlueOak-1.0.0</text><text class="high" x="276" y="134">9. BlueOak-1.0.0</text><text class="shadow" x="276.5" y="147">10. CC-BY-3.0</text><text class="high" x="276" y="146">10. CC-BY-3.0</text><text class="shadow" x="276.5" y="159">11. CC-BY-4.0</text><text class="high" x="276" y="158">11. CC-BY-4.0</text><text class="shadow" x="276.5" y="171">12. ISC</text><text class="high" x="276" y="170">12. ISC</text><text class="shadow" x="276.5" y="183">13. MIT</text><text class="high" x="276" y="182">13. MIT</text><text class="shadow" x="276.5" y="195">14. WTFPL</text><text class="high" x="276" y="194">14. WTFPL</text><text class="shadow" x="542.5" y="15">Weakly</text><text class="high" x="542" y="14">Weakly</text><text class="shadow" x="542.5" y="27">protective</text><text class="high" x="542" y="26">protective</text><text class="shadow" x="542.5" y="51">1. LGPL-3.0-only</text><text class="high" x="542" y="50">1. LGPL-3.0-only</text><text class="shadow" x="542.5" y="63">2. MPL-2.0</text><text class="high" x="542" y="62">2. MPL-2.0</text><text class="shadow" x="650.5" y="15">Uncategorized</text><text class="high" x="650" y="14">Uncategorized</text><text class="shadow" x="650.5" y="39">1. neodoc (2.0.2)</text><text class="high" x="650" y="38">1. neodoc (2.0.2)</text><text class="shadow" x="759.5" y="15">Missing</text><text class="high" x="759" y="14">Missing</text><text class="shadow" x="759.5" y="39">1. atomically (2.0.3)</text><text class="high" x="759" y="38">1. atomically (2.0.3)</text><text class="shadow" x="759.5" y="51">2. stubborn-fs (1.2.5)</text><text class="high" x="759" y="50">2. stubborn-fs (1.2.5)</text><text class="shadow" x="759.5" y="63">3. when-exit (2.1.3)</text><text class="high" x="759" y="62">3. when-exit (2.1.3)</text></g></svg>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! indexeddbshim -
|
|
1
|
+
/*! indexeddbshim - v15.0.0 - 8/3/2024 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
function _createForOfIteratorHelper(r, e) {
|
|
21
21
|
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
22
22
|
if (!t) {
|
|
23
|
-
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e
|
|
23
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) {
|
|
24
24
|
t && (r = t);
|
|
25
25
|
var n = 0,
|
|
26
26
|
F = function () {};
|
|
@@ -857,6 +857,14 @@
|
|
|
857
857
|
* @typedef {any} AnyValue
|
|
858
858
|
*/
|
|
859
859
|
|
|
860
|
+
/**
|
|
861
|
+
* @type {{
|
|
862
|
+
* [key: string]: {
|
|
863
|
+
* encode: (param: any, inArray?: boolean) => string,
|
|
864
|
+
* decode: (param: string, inArray?: boolean) => any
|
|
865
|
+
* }
|
|
866
|
+
* }}
|
|
867
|
+
*/
|
|
860
868
|
var types = {
|
|
861
869
|
invalid: {
|
|
862
870
|
/**
|
|
@@ -1767,7 +1775,6 @@
|
|
|
1767
1775
|
return null;
|
|
1768
1776
|
}
|
|
1769
1777
|
// array, date, number, string, binary (should already have detected "invalid")
|
|
1770
|
-
// @ts-expect-error Argument may be ignored
|
|
1771
1778
|
return types[getKeyType(key)].encode(key, inArray);
|
|
1772
1779
|
}
|
|
1773
1780
|
|