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.
@@ -1,3 +1,3 @@
1
1
  export { regex as default };
2
- declare var regex: any;
2
+ declare var regex: RegExp;
3
3
  //# sourceMappingURL=unicode-regex.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unicode-regex.d.ts","sourceRoot":"","sources":["../src/unicode-regex.js"],"names":[],"mappings":";AAiBA,uBAA+D"}
1
+ {"version":3,"file":"unicode-regex.d.ts","sourceRoot":"","sources":["../src/unicode-regex.js"],"names":[],"mappings":";AAEA,0BAAslE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indexeddbshim",
3
- "version": "19.0.1",
3
+ "version": "19.0.3",
4
4
  "type": "module",
5
5
  "author": "Parashuram <code@nparashuram.com>",
6
6
  "contributors": [
@@ -63,13 +63,13 @@
63
63
  "tests-polyfill": "run-s clean-polyfill coverage:fake coverage:mock coverage:w3cOld",
64
64
  "mocha": "run-s clean-mocha coverage:mocha clean-mocha",
65
65
  "rollup": "rollup -c",
66
- "coverage:fake": "c8 --silent --no-clean mocha --reporterOptions configFile=mocha-multi-reporters.json,cmrOutput=@es-joy/json-file-reporter+output+fake --require source-map-support/register tests-polyfill/fakeIndexedDB/test-node.js",
67
- "coverage:mock": "c8 --silent --no-clean mocha --reporterOptions configFile=mocha-multi-reporters.json,cmrOutput=@es-joy/json-file-reporter+output+mock --require source-map-support/register tests-polyfill/indexedDBmock/test-node.js",
68
- "coverage:w3cOld": "c8 --silent --no-clean mocha --reporterOptions configFile=mocha-multi-reporters.json,cmrOutput=@es-joy/json-file-reporter+output+w3c --require source-map-support/register tests-polyfill/w3c/test-node.js",
66
+ "coverage:fake": "c8 --silent --no-clean mocha --reporter-options configFile=mocha-multi-reporters.json,cmrOutput=@es-joy/json-file-reporter+output+fake --require source-map-support/register tests-polyfill/fakeIndexedDB/test-node.js",
67
+ "coverage:mock": "c8 --silent --no-clean mocha --reporter-options configFile=mocha-multi-reporters.json,cmrOutput=@es-joy/json-file-reporter+output+mock --require source-map-support/register tests-polyfill/indexedDBmock/test-node.js",
68
+ "coverage:w3cOld": "c8 --silent --no-clean mocha --reporter-options configFile=mocha-multi-reporters.json,cmrOutput=@es-joy/json-file-reporter+output+w3c --require source-map-support/register tests-polyfill/w3c/test-node.js",
69
69
  "coverage:w3c": "NODE_OPTIONS=--max_old_space_size=16384 c8 --silent --no-clean npm run w3c-test-only",
70
70
  "test:w3c": "NODE_OPTIONS=--max_old_space_size=16384 NODE_OPTIONS=--trace-warnings node test-support/node-idb-test.js",
71
71
  "w3c-test-only": "NODE_OPTIONS=--max_old_space_size=16384 node --trace-warnings test-support/node-idb-test.js",
72
- "coverage:mocha": "c8 --silent --no-clean mocha --reporterOptions configFile=mocha-multi-reporters.json,cmrOutput=@es-joy/json-file-reporter+output+mocha --require source-map-support/register tests-mocha/test-node.js",
72
+ "coverage:mocha": "c8 --silent --no-clean mocha --reporter-options configFile=mocha-multi-reporters.json,cmrOutput=@es-joy/json-file-reporter+output+mocha --require source-map-support/register tests-mocha/test-node.js",
73
73
  "coverage-badge": "coveradge badges/coverage-badge",
74
74
  "coverage:report-only": "c8 report",
75
75
  "coverage:report": "run-s coverage:report-only",
@@ -166,26 +166,26 @@
166
166
  "node": "^22.18.0 || >= 24.11.0"
167
167
  },
168
168
  "dependencies": {
169
- "@node-static/node-static": "^0.9.1",
169
+ "@node-static/node-static": "^0.9.2",
170
170
  "canvas": "^3.2.3",
171
171
  "eventtargeter": "0.12.0",
172
172
  "sync-promise-expanded": "^2.0.0",
173
173
  "typeson": "10.3.0",
174
- "typeson-registry": "14.5.0",
174
+ "typeson-registry": "14.7.0",
175
175
  "websql-configurable": "^4.0.0"
176
176
  },
177
177
  "devDependencies": {
178
178
  "@arethetypeswrong/cli": "^0.18.5",
179
- "@babel/core": "^8.0.1",
180
- "@babel/preset-env": "^8.0.2",
181
- "@es-joy/json-file-reporter": "^1.5.0",
179
+ "@babel/core": "^8.0.5",
180
+ "@babel/preset-env": "^8.0.5",
181
+ "@es-joy/json-file-reporter": "^2.0.0",
182
182
  "@rollup/plugin-babel": "^7.1.0",
183
183
  "@rollup/plugin-commonjs": "^29.0.3",
184
184
  "@rollup/plugin-node-resolve": "^16.0.3",
185
185
  "@rollup/plugin-terser": "^1.0.0",
186
- "@types/node": "^26.4.1",
186
+ "@types/node": "^26.5.1",
187
187
  "@types/websql": "^0.0.30",
188
- "@unicode/unicode-17.0.0": "^2.0.2",
188
+ "@unicode/unicode-17.0.0": "^2.0.7",
189
189
  "babel-plugin-add-module-exports": "1.0.4",
190
190
  "bson": "^7.3.2",
191
191
  "builtin-modules": "^5.3.0",
@@ -194,23 +194,23 @@
194
194
  "chokidar-cli": "^3.0.0",
195
195
  "colors": "1.4.0",
196
196
  "copyfiles": "^2.4.1",
197
- "coveradge": "^0.8.2",
197
+ "coveradge": "^0.9.0",
198
198
  "delay-cli": "^3.0.0",
199
- "eslint": "^10.9.1",
200
- "eslint-config-ash-nazg": "^43.1.6",
199
+ "eslint": "^10.10.0",
200
+ "eslint-config-ash-nazg": "^43.1.10",
201
201
  "globals": "^17.12.0",
202
202
  "is-date-object": "1.1.0",
203
203
  "isomorphic-fetch": "^3.0.0",
204
204
  "jsdom": "^30.0.1",
205
- "license-badger": "^0.23.0",
205
+ "license-badger": "^0.23.1",
206
206
  "local-xmlhttprequest": "4.0.0",
207
- "mocha": "^11.8.0",
208
- "mocha-badge-generator": "^0.11.0",
209
- "mocha-multi-reporters": "^1.5.1",
207
+ "mocha": "^12.0.1",
208
+ "mocha-badge-generator": "^0.13.0",
209
+ "mocha-multi-reporters": "1.5.2",
210
210
  "npm-run-all": "^4.1.5",
211
211
  "open-cli": "^9.0.0",
212
212
  "rimraf": "^6.1.3",
213
- "rollup": "^4.63.1",
213
+ "rollup": "^4.63.3",
214
214
  "rollup-plugin-filesize": "^10.0.0",
215
215
  "sinon": "^22.1.0",
216
216
  "source-map-support": "0.5.21",
@@ -8,6 +8,7 @@ import CFG from './CFG.js';
8
8
  */
9
9
  function createNativeDOMException (name, message) {
10
10
  // @ts-expect-error It's ok
11
+ // eslint-disable-next-line new-cap -- Ok
11
12
  return new DOMException.prototype.constructor(
12
13
  message,
13
14
  name || 'DOMException'
@@ -1,20 +1,5 @@
1
1
  // @ts-nocheck
2
2
 
3
- function getDefaultExportFromCjs (x) {
4
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
5
- }
6
-
7
- var regex$1;
8
- var hasRequiredRegex;
9
-
10
- function requireRegex () {
11
- if (hasRequiredRegex) return regex$1;
12
- hasRequiredRegex = 1;
13
- regex$1=/[\xC0-\xC5\xC7-\xCF\xD1-\xD6\xD9-\xDD\xE0-\xE5\xE7-\xEF\xF1-\xF6\xF9-\xFD\xFF-\u010F\u0112-\u0125\u0128-\u0130\u0134-\u0137\u0139-\u013E\u0143-\u0148\u014C-\u0151\u0154-\u0165\u0168-\u017E\u01A0\u01A1\u01AF\u01B0\u01CD-\u01DC\u01DE-\u01E3\u01E6-\u01F0\u01F4\u01F5\u01F8-\u021B\u021E\u021F\u0226-\u0233\u0344\u0385\u0386\u0388-\u038A\u038C\u038E-\u0390\u03AA-\u03B0\u03CA-\u03CE\u03D3\u03D4\u0400\u0401\u0403\u0407\u040C-\u040E\u0419\u0439\u0450\u0451\u0453\u0457\u045C-\u045E\u0476\u0477\u04C1\u04C2\u04D0-\u04D3\u04D6\u04D7\u04DA-\u04DF\u04E2-\u04E7\u04EA-\u04F5\u04F8\u04F9\u0622-\u0626\u06C0\u06C2\u06D3\u0929\u0931\u0934\u0958-\u095F\u09CB\u09CC\u09DC\u09DD\u09DF\u0A33\u0A36\u0A59-\u0A5B\u0A5E\u0B48\u0B4B\u0B4C\u0B5C\u0B5D\u0B94\u0BCA-\u0BCC\u0C48\u0CC0\u0CC7\u0CC8\u0CCA\u0CCB\u0D4A-\u0D4C\u0DDA\u0DDC-\u0DDE\u0F43\u0F4D\u0F52\u0F57\u0F5C\u0F69\u0F73\u0F75\u0F76\u0F78\u0F81\u0F93\u0F9D\u0FA2\u0FA7\u0FAC\u0FB9\u1026\u1B06\u1B08\u1B0A\u1B0C\u1B0E\u1B12\u1B3B\u1B3D\u1B40\u1B41\u1B43\u1E00-\u1E99\u1E9B\u1EA0-\u1EF9\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FC1-\u1FC4\u1FC6-\u1FD3\u1FD6-\u1FDB\u1FDD-\u1FEE\u1FF2-\u1FF4\u1FF6-\u1FFC\u212B\u219A\u219B\u21AE\u21CD-\u21CF\u2204\u2209\u220C\u2224\u2226\u2241\u2244\u2247\u2249\u2260\u2262\u226D-\u2271\u2274\u2275\u2278\u2279\u2280\u2281\u2284\u2285\u2288\u2289\u22AC-\u22AF\u22E0-\u22E3\u22EA-\u22ED\u2ADC\u304C\u304E\u3050\u3052\u3054\u3056\u3058\u305A\u305C\u305E\u3060\u3062\u3065\u3067\u3069\u3070\u3071\u3073\u3074\u3076\u3077\u3079\u307A\u307C\u307D\u3094\u309E\u30AC\u30AE\u30B0\u30B2\u30B4\u30B6\u30B8\u30BA\u30BC\u30BE\u30C0\u30C2\u30C5\u30C7\u30C9\u30D0\u30D1\u30D3\u30D4\u30D6\u30D7\u30D9\u30DA\u30DC\u30DD\u30F4\u30F7-\u30FA\u30FE\uAC00-\uD7A3\uFB1D\uFB1F\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFB4E]|\uD801[\uDDC9\uDDE4]|\uD804[\uDC9A\uDC9C\uDCAB\uDD2E\uDD2F\uDF4B\uDF4C\uDF83\uDF85\uDF8E\uDF91\uDFC5\uDFC7\uDFC8]|\uD805[\uDCBB\uDCBC\uDCBE\uDDBA\uDDBB]|\uD806\uDD38|\uD818[\uDD21-\uDD28]|\uD81B[\uDD68-\uDD6A]|\uD834[\uDD5E-\uDD64\uDDBB-\uDDC0]/;
14
- return regex$1;
15
- }
16
-
17
- var regexExports = requireRegex();
18
- var regex = /*@__PURE__*/getDefaultExportFromCjs(regexExports);
3
+ var regex = /[\xC0-\xC5\xC7-\xCF\xD1-\xD6\xD9-\xDD\xE0-\xE5\xE7-\xEF\xF1-\xF6\xF9-\xFD\xFF-\u010F\u0112-\u0125\u0128-\u0130\u0134-\u0137\u0139-\u013E\u0143-\u0148\u014C-\u0151\u0154-\u0165\u0168-\u017E\u01A0\u01A1\u01AF\u01B0\u01CD-\u01DC\u01DE-\u01E3\u01E6-\u01F0\u01F4\u01F5\u01F8-\u021B\u021E\u021F\u0226-\u0233\u0344\u0385\u0386\u0388-\u038A\u038C\u038E-\u0390\u03AA-\u03B0\u03CA-\u03CE\u03D3\u03D4\u0400\u0401\u0403\u0407\u040C-\u040E\u0419\u0439\u0450\u0451\u0453\u0457\u045C-\u045E\u0476\u0477\u04C1\u04C2\u04D0-\u04D3\u04D6\u04D7\u04DA-\u04DF\u04E2-\u04E7\u04EA-\u04F5\u04F8\u04F9\u0622-\u0626\u06C0\u06C2\u06D3\u0929\u0931\u0934\u0958-\u095F\u09CB\u09CC\u09DC\u09DD\u09DF\u0A33\u0A36\u0A59-\u0A5B\u0A5E\u0B48\u0B4B\u0B4C\u0B5C\u0B5D\u0B94\u0BCA-\u0BCC\u0C48\u0CC0\u0CC7\u0CC8\u0CCA\u0CCB\u0D4A-\u0D4C\u0DDA\u0DDC-\u0DDE\u0F43\u0F4D\u0F52\u0F57\u0F5C\u0F69\u0F73\u0F75\u0F76\u0F78\u0F81\u0F93\u0F9D\u0FA2\u0FA7\u0FAC\u0FB9\u1026\u1B06\u1B08\u1B0A\u1B0C\u1B0E\u1B12\u1B3B\u1B3D\u1B40\u1B41\u1B43\u1E00-\u1E99\u1E9B\u1EA0-\u1EF9\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FC1-\u1FC4\u1FC6-\u1FD3\u1FD6-\u1FDB\u1FDD-\u1FEE\u1FF2-\u1FF4\u1FF6-\u1FFC\u212B\u219A\u219B\u21AE\u21CD-\u21CF\u2204\u2209\u220C\u2224\u2226\u2241\u2244\u2247\u2249\u2260\u2262\u226D-\u2271\u2274\u2275\u2278\u2279\u2280\u2281\u2284\u2285\u2288\u2289\u22AC-\u22AF\u22E0-\u22E3\u22EA-\u22ED\u2ADC\u304C\u304E\u3050\u3052\u3054\u3056\u3058\u305A\u305C\u305E\u3060\u3062\u3065\u3067\u3069\u3070\u3071\u3073\u3074\u3076\u3077\u3079\u307A\u307C\u307D\u3094\u309E\u30AC\u30AE\u30B0\u30B2\u30B4\u30B6\u30B8\u30BA\u30BC\u30BE\u30C0\u30C2\u30C5\u30C7\u30C9\u30D0\u30D1\u30D3\u30D4\u30D6\u30D7\u30D9\u30DA\u30DC\u30DD\u30F4\u30F7-\u30FA\u30FE\uAC00-\uD7A3\uFB1D\uFB1F\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFB4E]|\uD801[\uDDC9\uDDE4]|\uD804[\uDC9A\uDC9C\uDCAB\uDD2E\uDD2F\uDF4B\uDF4C\uDF83\uDF85\uDF8E\uDF91\uDFC5\uDFC7\uDFC8]|\uD805[\uDCBB\uDCBC\uDCBE\uDDBA\uDDBB]|\uD806\uDD38|\uD818[\uDD21-\uDD28]|\uD81B[\uDD68-\uDD6A]|\uD834[\uDD5E-\uDD64\uDDBB-\uDDC0]/;
19
4
 
20
5
  export { regex as default };