indexeddbshim 17.4.2 → 17.5.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/dist/IDBFactory.d.ts +1 -3
- package/dist/IDBFactory.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 +15 -2011
- package/dist/indexeddbshim-UnicodeIdentifiers-node.cjs.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.js +6 -8
- 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 +15 -2011
- package/dist/indexeddbshim-node.cjs.map +1 -1
- package/dist/indexeddbshim-noninvasive.js +6 -8
- 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 +6 -8
- package/dist/indexeddbshim.js.map +1 -1
- package/dist/indexeddbshim.min.js +2 -2
- package/dist/indexeddbshim.min.js.map +1 -1
- package/dist/node-UnicodeIdentifiers.d.ts +2 -2
- package/dist/node-UnicodeIdentifiers.d.ts.map +1 -1
- package/dist/node.d.ts +2 -2
- package/dist/node.d.ts.map +1 -1
- package/dist/nodeWebSQL.d.ts +1 -1
- package/dist/nodeWebSQL.d.ts.map +1 -1
- package/package.json +4 -8
- package/src/IDBFactory.js +5 -7
- package/src/node-UnicodeIdentifiers.js +1 -1
- package/src/node.js +1 -1
- package/src/nodeWebSQL.js +5 -5
- package/dist/nodeSQLiteDatabase.d.ts +0 -64
- package/dist/nodeSQLiteDatabase.d.ts.map +0 -1
- package/src/nodeSQLiteDatabase.js +0 -314
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! indexeddbshim - v17.
|
|
1
|
+
/*! indexeddbshim - v17.5.0 - 8/30/2026 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -11262,9 +11262,7 @@
|
|
|
11262
11262
|
/**
|
|
11263
11263
|
* @typedef {import('websql-configurable/lib/websql/WebSQLDatabase.js').default & {
|
|
11264
11264
|
* _db: {
|
|
11265
|
-
*
|
|
11266
|
-
* close: (errBack: (err: Error) => void) => void
|
|
11267
|
-
* }
|
|
11265
|
+
* close: (errBack: (err: Error) => void) => void
|
|
11268
11266
|
* }
|
|
11269
11267
|
* }} DatabaseFull
|
|
11270
11268
|
*/
|
|
@@ -11342,7 +11340,7 @@
|
|
|
11342
11340
|
return;
|
|
11343
11341
|
}
|
|
11344
11342
|
dbs.forEach(function (db) {
|
|
11345
|
-
var sqliteDB = db._db
|
|
11343
|
+
var sqliteDB = db._db;
|
|
11346
11344
|
if (!sqliteDB || !sqliteDB.close) {
|
|
11347
11345
|
remaining--;
|
|
11348
11346
|
if (remaining === 0) {
|
|
@@ -11384,9 +11382,9 @@
|
|
|
11384
11382
|
databaseDeleted();
|
|
11385
11383
|
return;
|
|
11386
11384
|
}
|
|
11387
|
-
var _sqliteDB = latestSQLiteDBCached._db
|
|
11385
|
+
var _sqliteDB = latestSQLiteDBCached._db;
|
|
11388
11386
|
if (!_sqliteDB || !_sqliteDB.close) {
|
|
11389
|
-
console.error('The `openDatabase` implementation does not have the expected `._db.
|
|
11387
|
+
console.error('The `openDatabase` implementation does not have the expected `._db.close` method for closing the database');
|
|
11390
11388
|
return;
|
|
11391
11389
|
}
|
|
11392
11390
|
_sqliteDB.close(
|
|
@@ -12191,7 +12189,7 @@
|
|
|
12191
12189
|
var calledDbCreateError = false;
|
|
12192
12190
|
// Snapshotted *now*, synchronously, at call time -- not read later
|
|
12193
12191
|
// from inside the SQL query's callback below, which runs on a
|
|
12194
|
-
// deferred macrotask (see `
|
|
12192
|
+
// deferred macrotask (see `websql-configurable`'s `SQLiteDatabase#exec`) and so
|
|
12195
12193
|
// could otherwise race against (and lose to) an in-flight upgrade's
|
|
12196
12194
|
// own commit/abort handler clearing its `pendingVersionChanges`
|
|
12197
12195
|
// entry in the meantime -- which would make this method incorrectly
|