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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indexeddbshim",
3
- "version": "11.0.0",
3
+ "version": "12.0.0",
4
4
  "type": "module",
5
5
  "author": "Parashuram <code@nparashuram.com>",
6
6
  "contributors": [
@@ -144,24 +144,24 @@
144
144
  "last 3 Samsung versions"
145
145
  ],
146
146
  "engines": {
147
- "node": ">=14.0.0"
147
+ "node": ">=16.0.0"
148
148
  },
149
149
  "dependencies": {
150
150
  "canvas": "^2.11.2",
151
151
  "eventtargeter": "0.8.0",
152
152
  "sync-promise": "git+https://github.com/brettz9/sync-promise.git#full-sync-missing-promise-features",
153
- "typeson": "8.0.1",
154
- "typeson-registry": "5.0.0",
153
+ "typeson": "8.0.2",
154
+ "typeson-registry": "6.0.0",
155
155
  "websql": "git+https://github.com/brettz9/node-websql.git#configurable-secure3"
156
156
  },
157
157
  "devDependencies": {
158
- "@babel/core": "^7.21.4",
159
- "@babel/preset-env": "^7.21.4",
158
+ "@babel/core": "^7.21.5",
159
+ "@babel/preset-env": "^7.21.5",
160
160
  "@brettz9/eslint-plugin": "^1.0.4",
161
161
  "@brettz9/node-static": "^0.1.1",
162
162
  "@es-joy/json-file-reporter": "^1.4.0",
163
163
  "@rollup/plugin-babel": "^6.0.3",
164
- "@rollup/plugin-commonjs": "^24.0.1",
164
+ "@rollup/plugin-commonjs": "^24.1.0",
165
165
  "@rollup/plugin-json": "^6.0.0",
166
166
  "@rollup/plugin-node-resolve": "^15.0.2",
167
167
  "@rollup/plugin-terser": "^0.4.1",
@@ -174,19 +174,19 @@
174
174
  "chokidar-cli": "^3.0.0",
175
175
  "colors": "1.4.0",
176
176
  "copyfiles": "^2.4.1",
177
- "core-js-bundle": "^3.30.0",
177
+ "core-js-bundle": "^3.30.1",
178
178
  "coveradge": "^0.8.2",
179
179
  "cyclonejs": "1.1.4",
180
180
  "delay-cli": "^2.0.0",
181
- "eslint": "^8.38.0",
182
- "eslint-config-ash-nazg": "^34.9.1",
181
+ "eslint": "^8.39.0",
182
+ "eslint-config-ash-nazg": "^34.11.1",
183
183
  "eslint-config-standard": "^17.0.0",
184
184
  "eslint-plugin-array-func": "^3.1.8",
185
185
  "eslint-plugin-compat": "^4.1.4",
186
186
  "eslint-plugin-eslint-comments": "^3.2.0",
187
187
  "eslint-plugin-html": "^7.1.0",
188
188
  "eslint-plugin-import": "^2.27.5",
189
- "eslint-plugin-jsdoc": "^40.1.2",
189
+ "eslint-plugin-jsdoc": "^43.1.1",
190
190
  "eslint-plugin-markdown": "^3.0.0",
191
191
  "eslint-plugin-no-unsanitized": "^4.0.2",
192
192
  "eslint-plugin-no-use-extend-native": "^0.5.0",
@@ -199,19 +199,19 @@
199
199
  "is-date-object": "1.0.5",
200
200
  "isomorphic-fetch": "^3.0.0",
201
201
  "jsdom": "^21.1.1",
202
- "license-badger": "^0.20.0",
202
+ "license-badger": "^0.21.1",
203
203
  "local-xmlhttprequest": "2.0.0",
204
204
  "mocha": "^10.2.0",
205
205
  "mocha-badge-generator": "^0.10.6",
206
206
  "mocha-multi-reporters": "^1.5.1",
207
207
  "npm-run-all": "^4.1.5",
208
208
  "open-cli": "^7.2.0",
209
- "rimraf": "^4.4.1",
210
- "rollup": "^3.20.2",
209
+ "rimraf": "^5.0.0",
210
+ "rollup": "^3.21.1",
211
211
  "rollup-plugin-filesize": "^10.0.0",
212
212
  "rollup-plugin-node-globals": "^1.4.0",
213
213
  "rollup-plugin-node-polyfills": "^0.2.1",
214
- "sinon": "^15.0.3",
214
+ "sinon": "^15.0.4",
215
215
  "source-map-support": "0.5.21",
216
216
  "sourcemap-transformer": "git+https://github.com/brettz9/sourcemap-transformer.git",
217
217
  "w3c-blob": "0.0.1",
package/src/Key.js CHANGED
@@ -428,6 +428,12 @@ function convertValueToKeyValueDecoded (input, seen, multiEntry, fullKeys) {
428
428
  // List as 'NaN' type for convenience of consumers in reporting errors
429
429
  return {type: 'NaN', invalid: true};
430
430
  }
431
+
432
+ // https://github.com/w3c/IndexedDB/issues/375
433
+ // https://github.com/w3c/IndexedDB/pull/386
434
+ if (Object.is(input, -0)) {
435
+ return {type, value: 0};
436
+ }
431
437
  return ret;
432
438
  } case 'string': {
433
439
  return ret;
@@ -1,3 +1,9 @@
1
+ function getDefaultExportFromCjs (x) {
2
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
3
+ }
4
+
1
5
  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]|\uD804[\uDC9A\uDC9C\uDCAB\uDD2E\uDD2F\uDF4B\uDF4C]|\uD805[\uDCBB\uDCBC\uDCBE\uDDBA\uDDBB]|\uD806\uDD38|\uD834[\uDD5E-\uDD64\uDDBB-\uDDC0]/;
2
6
 
3
- export { regex as default };
7
+ var regex$1 = /*@__PURE__*/getDefaultExportFromCjs(regex);
8
+
9
+ export { regex$1 as default };