indexeddbshim 19.0.0 → 19.0.1
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/dist/IDBCursor.d.ts +8 -8
- package/dist/IDBCursor.d.ts.map +1 -1
- package/dist/IDBIndex.d.ts +2 -2
- package/dist/IDBIndex.d.ts.map +1 -1
- package/dist/IDBObjectStore.d.ts +10 -10
- package/dist/IDBObjectStore.d.ts.map +1 -1
- package/dist/indexeddbshim-Key.js +1 -1
- package/dist/indexeddbshim-Key.min.js +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers-node.cjs +12 -12
- package/dist/indexeddbshim-UnicodeIdentifiers-node.cjs.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.js +12 -12
- package/dist/indexeddbshim-UnicodeIdentifiers.js.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.min.js +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.min.js.map +1 -1
- package/dist/indexeddbshim-node.cjs +12 -12
- package/dist/indexeddbshim-node.cjs.map +1 -1
- package/dist/indexeddbshim-noninvasive.js +12 -12
- package/dist/indexeddbshim-noninvasive.js.map +1 -1
- package/dist/indexeddbshim-noninvasive.min.js +1 -1
- package/dist/indexeddbshim-noninvasive.min.js.map +1 -1
- package/dist/indexeddbshim.js +12 -12
- package/dist/indexeddbshim.js.map +1 -1
- package/dist/indexeddbshim.min.js +1 -1
- package/dist/indexeddbshim.min.js.map +1 -1
- package/package.json +1 -1
- package/src/IDBCursor.js +5 -5
- package/src/IDBIndex.js +1 -1
- package/src/IDBObjectStore.js +5 -5
package/package.json
CHANGED
package/src/IDBCursor.js
CHANGED
|
@@ -931,9 +931,9 @@ IDBCursor.prototype.advance = function (count) {
|
|
|
931
931
|
* The `{query, count, direction}` options shape shared by
|
|
932
932
|
* `getAll`/`getAllKeys`/`getAllRecords`.
|
|
933
933
|
* @typedef {{
|
|
934
|
-
* query?: import('./
|
|
934
|
+
* query?: import('./IDBIndex.js').Query|null,
|
|
935
935
|
* count?: Integer,
|
|
936
|
-
* direction?:
|
|
936
|
+
* direction?: IDBCursorDirection
|
|
937
937
|
* }} GetAllOptions
|
|
938
938
|
*/
|
|
939
939
|
|
|
@@ -1120,7 +1120,7 @@ Object.defineProperty(IDBCursorWithValue, 'prototype', {
|
|
|
1120
1120
|
* @param {unknown} options
|
|
1121
1121
|
* @throws {TypeError}
|
|
1122
1122
|
* @returns {{
|
|
1123
|
-
* query: import('./
|
|
1123
|
+
* query: import('./IDBIndex.js').Query|null|undefined,
|
|
1124
1124
|
* count: Integer|undefined,
|
|
1125
1125
|
* direction: string
|
|
1126
1126
|
* }}
|
|
@@ -1148,7 +1148,7 @@ function normalizeGetAllOptions (options) {
|
|
|
1148
1148
|
* @param {IArguments} args
|
|
1149
1149
|
* @throws {TypeError}
|
|
1150
1150
|
* @returns {{
|
|
1151
|
-
* query: import('./
|
|
1151
|
+
* query: import('./IDBIndex.js').Query|null|undefined,
|
|
1152
1152
|
* count: Integer|undefined,
|
|
1153
1153
|
* direction: string
|
|
1154
1154
|
* }}
|
|
@@ -1172,7 +1172,7 @@ function parseGetAllArgs (args) {
|
|
|
1172
1172
|
* @param {IArguments} args
|
|
1173
1173
|
* @throws {TypeError}
|
|
1174
1174
|
* @returns {{
|
|
1175
|
-
* query: import('./
|
|
1175
|
+
* query: import('./IDBIndex.js').Query|null|undefined,
|
|
1176
1176
|
* count: Integer|undefined,
|
|
1177
1177
|
* direction: string
|
|
1178
1178
|
* }}
|
package/src/IDBIndex.js
CHANGED
package/src/IDBObjectStore.js
CHANGED
|
@@ -91,7 +91,7 @@ const IDBObjectStoreAlias = IDBObjectStore;
|
|
|
91
91
|
* error: (err: (Error & {code?: number})) => void
|
|
92
92
|
* ) => void,
|
|
93
93
|
* __get: (
|
|
94
|
-
* query: import('./
|
|
94
|
+
* query: import('./IDBIndex.js').Query,
|
|
95
95
|
* getKey?: boolean,
|
|
96
96
|
* getAll?: boolean,
|
|
97
97
|
* count?: Integer
|
|
@@ -912,7 +912,7 @@ IDBObjectStore.__storingRecordObjectStore = function (request, store, invalidate
|
|
|
912
912
|
|
|
913
913
|
/**
|
|
914
914
|
*
|
|
915
|
-
* @param {import('./
|
|
915
|
+
* @param {import('./IDBIndex.js').Query} query
|
|
916
916
|
* @param {boolean} [getKey]
|
|
917
917
|
* @this {IDBObjectStoreFull}
|
|
918
918
|
* @returns {import('./IDBRequest.js').IDBRequestFull}
|
|
@@ -964,7 +964,7 @@ IDBObjectStore.prototype.__get = function (query, getKey) {
|
|
|
964
964
|
|
|
965
965
|
/**
|
|
966
966
|
*
|
|
967
|
-
* @param {import('./
|
|
967
|
+
* @param {import('./IDBIndex.js').Query} query
|
|
968
968
|
* @throws {TypeError}
|
|
969
969
|
* @this {IDBObjectStoreFull}
|
|
970
970
|
* @returns {import('./IDBRequest.js').IDBRequestFull}
|
|
@@ -978,7 +978,7 @@ IDBObjectStore.prototype.get = function (query) {
|
|
|
978
978
|
|
|
979
979
|
/**
|
|
980
980
|
*
|
|
981
|
-
* @param {import('./
|
|
981
|
+
* @param {import('./IDBIndex.js').Query} query
|
|
982
982
|
* @this {IDBObjectStoreFull}
|
|
983
983
|
* @returns {import('./IDBRequest.js').IDBRequestFull}
|
|
984
984
|
*/
|
|
@@ -1021,7 +1021,7 @@ IDBObjectStore.prototype.getAllRecords = function (/* options */) {
|
|
|
1021
1021
|
|
|
1022
1022
|
/**
|
|
1023
1023
|
*
|
|
1024
|
-
* @param {import('./
|
|
1024
|
+
* @param {import('./IDBIndex.js').Query} query
|
|
1025
1025
|
* @throws {TypeError}
|
|
1026
1026
|
* @this {IDBObjectStoreFull}
|
|
1027
1027
|
* @returns {import('./IDBRequest.js').IDBRequestFull}
|