indexeddbshim 17.4.3 → 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 +14 -2010
- 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 +14 -2010
- 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/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/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 (factory) {
|
|
4
4
|
typeof define === 'function' && define.amd ? define(factory) :
|
|
@@ -11267,9 +11267,7 @@
|
|
|
11267
11267
|
/**
|
|
11268
11268
|
* @typedef {import('websql-configurable/lib/websql/WebSQLDatabase.js').default & {
|
|
11269
11269
|
* _db: {
|
|
11270
|
-
*
|
|
11271
|
-
* close: (errBack: (err: Error) => void) => void
|
|
11272
|
-
* }
|
|
11270
|
+
* close: (errBack: (err: Error) => void) => void
|
|
11273
11271
|
* }
|
|
11274
11272
|
* }} DatabaseFull
|
|
11275
11273
|
*/
|
|
@@ -11347,7 +11345,7 @@
|
|
|
11347
11345
|
return;
|
|
11348
11346
|
}
|
|
11349
11347
|
dbs.forEach(function (db) {
|
|
11350
|
-
var sqliteDB = db._db
|
|
11348
|
+
var sqliteDB = db._db;
|
|
11351
11349
|
if (!sqliteDB || !sqliteDB.close) {
|
|
11352
11350
|
remaining--;
|
|
11353
11351
|
if (remaining === 0) {
|
|
@@ -11389,9 +11387,9 @@
|
|
|
11389
11387
|
databaseDeleted();
|
|
11390
11388
|
return;
|
|
11391
11389
|
}
|
|
11392
|
-
var _sqliteDB = latestSQLiteDBCached._db
|
|
11390
|
+
var _sqliteDB = latestSQLiteDBCached._db;
|
|
11393
11391
|
if (!_sqliteDB || !_sqliteDB.close) {
|
|
11394
|
-
console.error('The `openDatabase` implementation does not have the expected `._db.
|
|
11392
|
+
console.error('The `openDatabase` implementation does not have the expected `._db.close` method for closing the database');
|
|
11395
11393
|
return;
|
|
11396
11394
|
}
|
|
11397
11395
|
_sqliteDB.close(
|
|
@@ -12196,7 +12194,7 @@
|
|
|
12196
12194
|
var calledDbCreateError = false;
|
|
12197
12195
|
// Snapshotted *now*, synchronously, at call time -- not read later
|
|
12198
12196
|
// from inside the SQL query's callback below, which runs on a
|
|
12199
|
-
// deferred macrotask (see `
|
|
12197
|
+
// deferred macrotask (see `websql-configurable`'s `SQLiteDatabase#exec`) and so
|
|
12200
12198
|
// could otherwise race against (and lose to) an in-flight upgrade's
|
|
12201
12199
|
// own commit/abort handler clearing its `pendingVersionChanges`
|
|
12202
12200
|
// entry in the meantime -- which would make this method incorrectly
|