indexeddbshim 8.0.0 → 9.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/README.md +0 -4
- package/dist/indexeddbshim-Key.js +11 -17
- 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.js +64 -77
- package/dist/indexeddbshim-UnicodeIdentifiers-node.js.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.js +78 -99
- 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.js +64 -77
- package/dist/indexeddbshim-node.js.map +1 -1
- package/dist/indexeddbshim-noninvasive.js +78 -98
- 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 +78 -98
- 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 +32 -32
- package/src/DOMStringList.js +2 -2
- package/src/IDBFactory.js +2 -2
- package/src/IDBRequest.js +2 -2
- package/src/Key.js +1 -1
- package/src/browser-UnicodeIdentifiers.js +0 -1
- package/src/setGlobalVars.js +0 -2
- package/src/unicode-regex.js +1 -1
- package/src/util.js +6 -5
package/README.md
CHANGED
|
@@ -62,10 +62,6 @@ or
|
|
|
62
62
|
[production (minified)](https://raw.githubusercontent.com/indexeddbshim/indexeddbshim/master/dist/indexeddbshim.min.js)
|
|
63
63
|
script, or install it using [NPM](https://docs.npmjs.com/getting-started/what-is-npm).
|
|
64
64
|
|
|
65
|
-
Please note that the version currently in `master` is the only one which
|
|
66
|
-
supports Node.js (and has a number of fixes), but we are not yet ready
|
|
67
|
-
for release.
|
|
68
|
-
|
|
69
65
|
For Mac, you may need to have [CMake](https://cmake.org/download/) installed
|
|
70
66
|
for the SQLite3 install to work (See
|
|
71
67
|
`Tools->How to Install For Command Line Use`) as well as build SQLite3 from
|
|
@@ -1,25 +1,19 @@
|
|
|
1
|
-
/*! indexeddbshim -
|
|
1
|
+
/*! indexeddbshim - v9.0.0 - 1/5/2022 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
5
5
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
6
6
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.IDBKeyUtils = {}));
|
|
7
|
-
}(this, (function (exports) { 'use strict';
|
|
7
|
+
})(this, (function (exports) { 'use strict';
|
|
8
8
|
|
|
9
9
|
function _typeof(obj) {
|
|
10
10
|
"@babel/helpers - typeof";
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
_typeof = function (obj) {
|
|
18
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
return _typeof(obj);
|
|
12
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
13
|
+
return typeof obj;
|
|
14
|
+
} : function (obj) {
|
|
15
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
16
|
+
}, _typeof(obj);
|
|
23
17
|
}
|
|
24
18
|
|
|
25
19
|
function _slicedToArray(arr, i) {
|
|
@@ -519,10 +513,10 @@
|
|
|
519
513
|
// Could add a corresponding surrogate for compatibility with `node-sqlite3`: http://bugs.python.org/issue12569 and http://stackoverflow.com/a/6701665/271577
|
|
520
514
|
// but Chrome having problems
|
|
521
515
|
if (unmatchedHighSurrogate) {
|
|
522
|
-
return '^2' + unmatchedHighSurrogate.
|
|
516
|
+
return '^2' + unmatchedHighSurrogate.codePointAt().toString(16).padStart(4, '0');
|
|
523
517
|
}
|
|
524
518
|
|
|
525
|
-
return (precedingLow || '') + '^3' + unmatchedLowSurrogate.
|
|
519
|
+
return (precedingLow || '') + '^3' + unmatchedLowSurrogate.codePointAt().toString(16).padStart(4, '0');
|
|
526
520
|
});
|
|
527
521
|
}
|
|
528
522
|
|
|
@@ -617,7 +611,7 @@
|
|
|
617
611
|
};
|
|
618
612
|
var keyTypes = Object.keys(keyTypeToEncodedChar);
|
|
619
613
|
keyTypes.forEach(function (k) {
|
|
620
|
-
keyTypeToEncodedChar[k] = String.
|
|
614
|
+
keyTypeToEncodedChar[k] = String.fromCodePoint(keyTypeToEncodedChar[k]);
|
|
621
615
|
});
|
|
622
616
|
var encodedCharToKeyType = keyTypes.reduce(function (o, k) {
|
|
623
617
|
o[keyTypeToEncodedChar[k]] = k;
|
|
@@ -1821,5 +1815,5 @@
|
|
|
1821
1815
|
|
|
1822
1816
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1823
1817
|
|
|
1824
|
-
}))
|
|
1818
|
+
}));
|
|
1825
1819
|
//# sourceMappingURL=indexeddbshim-Key.js.map
|