indexeddbshim 11.0.0 → 12.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/badges/licenses-badge.svg +1 -1
- package/dist/indexeddbshim-Key.js +10 -1
- package/dist/indexeddbshim-Key.js.map +1 -1
- package/dist/indexeddbshim-Key.min.js +2 -2
- package/dist/indexeddbshim-Key.min.js.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers-node.cjs +79 -133
- package/dist/indexeddbshim-UnicodeIdentifiers-node.cjs.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.js +59 -28
- 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 +79 -133
- package/dist/indexeddbshim-node.cjs.map +1 -1
- package/dist/indexeddbshim-noninvasive.js +59 -28
- 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 +59 -28
- 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 +15 -15
- package/src/Key.js +6 -0
- package/src/unicode-regex.js +7 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="593" height="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="593" height="140"><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 0h227v140H0z"/><path fill="#006400" d="M227 0h183v140H227z"/><path fill="green" d="M410 0h183v140H410z"/><path fill="url(#smooth)" d="M0 0h593v140H0z"/></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">(project, deps, and bundled devDeps)</text><text class="high" x="5" y="26">(project, deps, and bundled devDeps)</text><text class="shadow" x="232.5" y="15">Public</text><text class="high" x="232" y="14">Public</text><text class="shadow" x="232.5" y="27">domain</text><text class="high" x="232" y="26">domain</text><text class="shadow" x="232.5" y="51">1. (Unlicense OR Apache-2.0)</text><text class="high" x="232" y="50">1. (Unlicense OR Apache-2.0)</text><text class="shadow" x="415.5" y="15">Permissive</text><text class="high" x="415" y="14">Permissive</text><text class="shadow" x="415.5" y="39">1. (MIT OR Apache-2.0)</text><text class="high" x="415" y="38">1. (MIT OR Apache-2.0)</text><text class="shadow" x="415.5" y="51">2. (Unlicense OR Apache-2.0)</text><text class="high" x="415" y="50">2. (Unlicense OR Apache-2.0)</text><text class="shadow" x="415.5" y="63">3. Apache-2.0</text><text class="high" x="415" y="62">3. Apache-2.0</text><text class="shadow" x="415.5" y="75">4. BSD-2-Clause</text><text class="high" x="415" y="74">4. BSD-2-Clause</text><text class="shadow" x="415.5" y="87">5. BSD-3-Clause</text><text class="high" x="415" y="86">5. BSD-3-Clause</text><text class="shadow" x="415.5" y="99">6. BlueOak-1.0.0</text><text class="high" x="415" y="98">6. BlueOak-1.0.0</text><text class="shadow" x="415.5" y="111">7. ISC</text><text class="high" x="415" y="110">7. ISC</text><text class="shadow" x="415.5" y="123">8. MIT</text><text class="high" x="415" y="122">8. MIT</text><text class="shadow" x="415.5" y="135">9. WTFPL</text><text class="high" x="415" y="134">9. WTFPL</text></g></svg>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! indexeddbshim - v11.0.0 - 4/
|
|
1
|
+
/*! indexeddbshim - v11.0.0 - 4/29/2023 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -1007,6 +1007,15 @@
|
|
|
1007
1007
|
invalid: true
|
|
1008
1008
|
};
|
|
1009
1009
|
}
|
|
1010
|
+
|
|
1011
|
+
// https://github.com/w3c/IndexedDB/issues/375
|
|
1012
|
+
// https://github.com/w3c/IndexedDB/pull/386
|
|
1013
|
+
if (Object.is(input, -0)) {
|
|
1014
|
+
return {
|
|
1015
|
+
type: type,
|
|
1016
|
+
value: 0
|
|
1017
|
+
};
|
|
1018
|
+
}
|
|
1010
1019
|
return ret;
|
|
1011
1020
|
}
|
|
1012
1021
|
case 'string':
|