indexeddbshim 19.0.1 → 19.0.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.
package/README.md CHANGED
@@ -105,6 +105,18 @@ globalThis.window = globalThis; // We'll allow ourselves to use `window.indexedD
105
105
  setGlobalVars(); // See signature below
106
106
  ```
107
107
 
108
+ ## Deno set-up
109
+
110
+ The project works with Deno (and `idb`) according to a user.
111
+
112
+ Be sure to call with `--location`.
113
+
114
+ ```shell
115
+ deno --location http:foo -A main.ts
116
+ ```
117
+
118
+ The location must start with http: or https: per Deno.
119
+
108
120
  ### Jest (or other test environments with a `jsdom`/`Window`-like global)
109
121
 
110
122
  If you call `setGlobalVars(global)` (or `setGlobalVars(window)`) inside a
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="593" height="188"><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 0h88v188H0z"/><path fill="#006400" d="M88 0h131v188H88z"/><path fill="green" d="M219 0h266v188H219z"/><path fill="#cc0" d="M485 0h108v188H485z"/><path fill="url(#smooth)" d="M0 0h593v188H0z"/></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. CC0-1.0</text><text class="high" x="93" y="62">2. CC0-1.0</text><text class="shadow" x="224.5" y="15">Permissive</text><text class="high" x="224" y="14">Permissive</text><text class="shadow" x="224.5" y="39">1. (BSD-2-Clause OR (MIT OR Apache-2.0))</text><text class="high" x="224" y="38">1. (BSD-2-Clause OR (MIT OR Apache-2.0))</text><text class="shadow" x="224.5" y="51">2. (MIT OR CC0-1.0)</text><text class="high" x="224" y="50">2. (MIT OR CC0-1.0)</text><text class="shadow" x="224.5" y="63">3. (MIT OR WTFPL)</text><text class="high" x="224" y="62">3. (MIT OR WTFPL)</text><text class="shadow" x="224.5" y="75">4. Apache-2.0</text><text class="high" x="224" y="74">4. Apache-2.0</text><text class="shadow" x="224.5" y="87">5. BSD-2-Clause</text><text class="high" x="224" y="86">5. BSD-2-Clause</text><text class="shadow" x="224.5" y="99">6. BSD-3-Clause</text><text class="high" x="224" y="98">6. BSD-3-Clause</text><text class="shadow" x="224.5" y="111">7. BlueOak-1.0.0</text><text class="high" x="224" y="110">7. BlueOak-1.0.0</text><text class="shadow" x="224.5" y="123">8. CC-BY-3.0</text><text class="high" x="224" y="122">8. CC-BY-3.0</text><text class="shadow" x="224.5" y="135">9. CC-BY-4.0</text><text class="high" x="224" y="134">9. CC-BY-4.0</text><text class="shadow" x="224.5" y="147">10. ISC</text><text class="high" x="224" y="146">10. ISC</text><text class="shadow" x="224.5" y="159">11. MIT</text><text class="high" x="224" y="158">11. MIT</text><text class="shadow" x="224.5" y="171">12. MIT-0</text><text class="high" x="224" y="170">12. MIT-0</text><text class="shadow" x="224.5" y="183">13. WTFPL</text><text class="high" x="224" y="182">13. WTFPL</text><text class="shadow" x="490.5" y="15">Weakly</text><text class="high" x="490" y="14">Weakly</text><text class="shadow" x="490.5" y="27">protective</text><text class="high" x="490" y="26">protective</text><text class="shadow" x="490.5" y="51">1. LGPL-3.0-only</text><text class="high" x="490" y="50">1. LGPL-3.0-only</text><text class="shadow" x="490.5" y="63">2. MPL-2.0</text><text class="high" x="490" y="62">2. MPL-2.0</text></g></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="593" height="176"><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%" fill="#fff" rx="3"/></mask></defs><g id="bg" mask="url(#round)"><path fill="navy" d="M0 0h88v176H0z"/><path fill="#006400" d="M88 0h131v176H88z"/><path fill="green" d="M219 0h266v176H219z"/><path fill="#cc0" d="M485 0h108v176H485z"/><path fill="url(#smooth)" d="M0 0h593v176H0z"/></g><g id="fg"><text x="5.5" y="15" class="shadow">License types</text><text x="5" y="14" class="high">License types</text><text x="5.5" y="27" class="shadow">(all devDeps)</text><text x="5" y="26" class="high">(all devDeps)</text><text x="93.5" y="15" class="shadow">Public</text><text x="93" y="14" class="high">Public</text><text x="93.5" y="27" class="shadow">domain</text><text x="93" y="26" class="high">domain</text><text x="93.5" y="51" class="shadow">1. (MIT OR CC0-1.0)</text><text x="93" y="50" class="high">1. (MIT OR CC0-1.0)</text><text x="93.5" y="63" class="shadow">2. CC0-1.0</text><text x="93" y="62" class="high">2. CC0-1.0</text><text x="224.5" y="15" class="shadow">Permissive</text><text x="224" y="14" class="high">Permissive</text><text x="224.5" y="39" class="shadow">1. (BSD-2-Clause OR (MIT OR Apache-2.0))</text><text x="224" y="38" class="high">1. (BSD-2-Clause OR (MIT OR Apache-2.0))</text><text x="224.5" y="51" class="shadow">2. (MIT OR WTFPL)</text><text x="224" y="50" class="high">2. (MIT OR WTFPL)</text><text x="224.5" y="63" class="shadow">3. Apache-2.0</text><text x="224" y="62" class="high">3. Apache-2.0</text><text x="224.5" y="75" class="shadow">4. BSD-2-Clause</text><text x="224" y="74" class="high">4. BSD-2-Clause</text><text x="224.5" y="87" class="shadow">5. BSD-3-Clause</text><text x="224" y="86" class="high">5. BSD-3-Clause</text><text x="224.5" y="99" class="shadow">6. BlueOak-1.0.0</text><text x="224" y="98" class="high">6. BlueOak-1.0.0</text><text x="224.5" y="111" class="shadow">7. CC-BY-3.0</text><text x="224" y="110" class="high">7. CC-BY-3.0</text><text x="224.5" y="123" class="shadow">8. CC-BY-4.0</text><text x="224" y="122" class="high">8. CC-BY-4.0</text><text x="224.5" y="135" class="shadow">9. ISC</text><text x="224" y="134" class="high">9. ISC</text><text x="224.5" y="147" class="shadow">10. MIT</text><text x="224" y="146" class="high">10. MIT</text><text x="224.5" y="159" class="shadow">11. MIT-0</text><text x="224" y="158" class="high">11. MIT-0</text><text x="224.5" y="171" class="shadow">12. WTFPL</text><text x="224" y="170" class="high">12. WTFPL</text><text x="490.5" y="15" class="shadow">Weakly</text><text x="490" y="14" class="high">Weakly</text><text x="490.5" y="27" class="shadow">protective</text><text x="490" y="26" class="high">protective</text><text x="490.5" y="51" class="shadow">1. LGPL-3.0-only</text><text x="490" y="50" class="high">1. LGPL-3.0-only</text><text x="490.5" y="63" class="shadow">2. MPL-2.0</text><text x="490" y="62" class="high">2. MPL-2.0</text></g></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="624" height="164"><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 0h227v164H0z"/><path fill="#006400" d="M227 0h131v164H227z"/><path fill="green" d="M358 0h266v164H358z"/><path fill="url(#smooth)" d="M0 0h624v164H0z"/></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. (MIT OR CC0-1.0)</text><text class="high" x="232" y="50">1. (MIT OR CC0-1.0)</text><text class="shadow" x="363.5" y="15">Permissive</text><text class="high" x="363" y="14">Permissive</text><text class="shadow" x="363.5" y="39">1. (BSD-2-Clause OR (MIT OR Apache-2.0))</text><text class="high" x="363" y="38">1. (BSD-2-Clause OR (MIT OR Apache-2.0))</text><text class="shadow" x="363.5" y="51">2. (MIT OR Apache-2.0)</text><text class="high" x="363" y="50">2. (MIT OR Apache-2.0)</text><text class="shadow" x="363.5" y="63">3. (MIT OR CC0-1.0)</text><text class="high" x="363" y="62">3. (MIT OR CC0-1.0)</text><text class="shadow" x="363.5" y="75">4. (MIT OR WTFPL)</text><text class="high" x="363" y="74">4. (MIT OR WTFPL)</text><text class="shadow" x="363.5" y="87">5. Apache-2.0</text><text class="high" x="363" y="86">5. Apache-2.0</text><text class="shadow" x="363.5" y="99">6. BSD-2-Clause</text><text class="high" x="363" y="98">6. BSD-2-Clause</text><text class="shadow" x="363.5" y="111">7. BSD-3-Clause</text><text class="high" x="363" y="110">7. BSD-3-Clause</text><text class="shadow" x="363.5" y="123">8. BlueOak-1.0.0</text><text class="high" x="363" y="122">8. BlueOak-1.0.0</text><text class="shadow" x="363.5" y="135">9. ISC</text><text class="high" x="363" y="134">9. ISC</text><text class="shadow" x="363.5" y="147">10. MIT</text><text class="high" x="363" y="146">10. MIT</text><text class="shadow" x="363.5" y="159">11. WTFPL</text><text class="high" x="363" y="158">11. WTFPL</text></g></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="624" height="152"><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%" fill="#fff" rx="3"/></mask></defs><g id="bg" mask="url(#round)"><path fill="navy" d="M0 0h227v152H0z"/><path fill="#006400" d="M227 0h131v152H227z"/><path fill="green" d="M358 0h266v152H358z"/><path fill="url(#smooth)" d="M0 0h624v152H0z"/></g><g id="fg"><text x="5.5" y="15" class="shadow">License types</text><text x="5" y="14" class="high">License types</text><text x="5.5" y="27" class="shadow">(project, deps, and bundled devDeps)</text><text x="5" y="26" class="high">(project, deps, and bundled devDeps)</text><text x="232.5" y="15" class="shadow">Public</text><text x="232" y="14" class="high">Public</text><text x="232.5" y="27" class="shadow">domain</text><text x="232" y="26" class="high">domain</text><text x="232.5" y="51" class="shadow">1. (MIT OR CC0-1.0)</text><text x="232" y="50" class="high">1. (MIT OR CC0-1.0)</text><text x="363.5" y="15" class="shadow">Permissive</text><text x="363" y="14" class="high">Permissive</text><text x="363.5" y="39" class="shadow">1. (BSD-2-Clause OR (MIT OR Apache-2.0))</text><text x="363" y="38" class="high">1. (BSD-2-Clause OR (MIT OR Apache-2.0))</text><text x="363.5" y="51" class="shadow">2. (MIT OR Apache-2.0)</text><text x="363" y="50" class="high">2. (MIT OR Apache-2.0)</text><text x="363.5" y="63" class="shadow">3. (MIT OR WTFPL)</text><text x="363" y="62" class="high">3. (MIT OR WTFPL)</text><text x="363.5" y="75" class="shadow">4. Apache-2.0</text><text x="363" y="74" class="high">4. Apache-2.0</text><text x="363.5" y="87" class="shadow">5. BSD-2-Clause</text><text x="363" y="86" class="high">5. BSD-2-Clause</text><text x="363.5" y="99" class="shadow">6. BSD-3-Clause</text><text x="363" y="98" class="high">6. BSD-3-Clause</text><text x="363.5" y="111" class="shadow">7. BlueOak-1.0.0</text><text x="363" y="110" class="high">7. BlueOak-1.0.0</text><text x="363.5" y="123" class="shadow">8. ISC</text><text x="363" y="122" class="high">8. ISC</text><text x="363.5" y="135" class="shadow">9. MIT</text><text x="363" y="134" class="high">9. MIT</text><text x="363.5" y="147" class="shadow">10. WTFPL</text><text x="363" y="146" class="high">10. WTFPL</text></g></svg>
@@ -1 +1 @@
1
- {"version":3,"file":"DOMException.d.ts","sourceRoot":"","sources":["../src/DOMException.js"],"names":[],"mappings":"+BA2Ga,UAAU,CAAC,YAAY,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAC,IAAI,GAAC,UAAU,CAAC;IAC9B,QAAQ,EAAE,MAAM,CAAA;CACjB;wBAsJS;IACR,OAAO,EAAE,MAAM,CAAA;CAChB;mBApPS,gBAAgB,GAAC,uBAAuB,GAAC,oBAAoB,GACzE,uBAAyB,GAAC,4BAA4B,GAAC,eAAe,GACtE,mBAAqB,GAAC,qBAAqB,GAAC,mBAAmB,GAC/D,aAAe,GAAC,0BAA0B,GAAC,gBAAgB,GAC3D,oBAAsB,GAAC,mBAAmB,GAAC,eAAe,GAC1D,cAAgB,GAAC,YAAY,GAAC,kBAAkB,GAAC,oBAAoB,GACrE,cAAgB,GAAC,sBAAsB,GAAC,gBAAgB,GAAC,eAAe,GACxE,kBAAoB,GAAC,cAAc,GAAC,iBAAiB,GAAC,WAAW,GACjE,0BAA4B,GAAC,eAAe,GAAC,cAAc,GAC3D,gBAAkB,GAAC,iBAAiB;yBAwCxB,gBAAgB,GAAC,oBAAoB,GAAC,uBAAuB,GACzE,oBAAsB,GAAC,uBAAuB,GAAC,qBAAqB,GACpE,6BAA+B,GAAC,eAAe,GAAC,mBAAmB,GACnE,qBAAuB,GAAC,mBAAmB,GAAC,YAAY,GACxD,0BAA4B,GAAC,eAAe,GAAC,oBAAoB,GACjE,gBAAkB,GAAC,mBAAmB,GAAC,cAAc,GAAC,aAAa,GACnE,WAAa,GAAC,kBAAkB,GAAC,oBAAoB,GAAC,aAAa,GACnE,uB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&& typeof module !== 'undefined' ? factory(exports) :
@@ -360,6 +360,7 @@
360
360
  */
361
361
  function createNativeDOMException(name, message) {
362
362
  // @ts-expect-error It's ok
363
+ // eslint-disable-next-line new-cap -- Ok
363
364
  return new DOMException.prototype.constructor(message, name || 'DOMException');
364
365
  }
365
366