indexeddbshim 19.0.1 → 19.0.2
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 +12 -0
- package/dist/DOMException.d.ts.map +1 -1
- package/dist/indexeddbshim-Key.js +2 -1
- 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 +127 -99
- package/dist/indexeddbshim-UnicodeIdentifiers-node.cjs.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.js +154 -130
- 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 +127 -99
- package/dist/indexeddbshim-node.cjs.map +1 -1
- package/dist/indexeddbshim-noninvasive.js +154 -130
- 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 +154 -130
- package/dist/indexeddbshim.js.map +1 -1
- package/dist/indexeddbshim.min.js +3 -3
- package/dist/indexeddbshim.min.js.map +1 -1
- package/licenseInfo.json +8 -0
- package/package.json +91 -92
- package/src/DOMException.js +1 -0
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
|
-
{"version":3,"file":"DOMException.d.ts","sourceRoot":"","sources":["../src/DOMException.js"],"names":[],"mappings":"+
|
|
1
|
+
{"version":3,"file":"DOMException.d.ts","sourceRoot":"","sources":["../src/DOMException.js"],"names":[],"mappings":"+BA4Ga,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,uBAAyB,GAAC,gBAAgB;AAyL3C;;;;GAIG;AAEH;;;;;;GAMG;AACH,+BALW,MAAM,WACN,MAAM,UACN,MAAM,GAAC,SAAS,GAAC,OAAO,GAAC,IAAI,GAC3B,IAAI,CAchB;AAYD;;;;;;GAMG;AACH,gCAHW,OAAO,EAAE,GACP,OAAO,CAmBnB;AA8FD;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEgC;AA1BhC,yCAGiB,MAAM,WACN,MAAM,UACN,SAAS,KACP,YAAY,YAQd,MAAM,WACN,MAAM,UACN,SAAS,KACP,KAAK,EAKlB;AA1FN;;;;;;;;;;;GAWG;AACH,yCALW,KAAK,GAAG;IAAC,IAAI,CAAC,EAAE,MAAM,GAAC,MAAM,CAAA;CAAC,GAC5B,CAAA,CAAC,YAAY,GAAC,KAAK,CAAC,GAAG;IAC/B,QAAQ,EAAE,KAAK,GAAG;QAAC,IAAI,CAAC,EAAE,MAAM,GAAC,MAAM,CAAA;KAAC,CAAA;CACzC,IAAC,kBAAkB,CA6CtB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! indexeddbshim - v19.0.
|
|
1
|
+
/*! indexeddbshim - v19.0.2 - 9/9/2026 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && 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
|
|