cordova-sqlite-storage
Advanced tools
Comparing version 2.2.1 to 2.3.0
# Changes | ||
### cordova-sqlite-storage 2.3.0 | ||
- Use SQLite 3.22.0 with SQLITE_DEFAULT_SYNCHRONOUS=3 (EXTRA DURABLE) compile-time setting on all platforms (Android/iOS/macOS/Windows) ref: litehelpers/Cordova-sqlite-storage#736 | ||
### cordova-sqlite-storage 2.2.1 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "cordova-sqlite-storage", | ||
"version": "2.2.1", | ||
"version": "2.3.0", | ||
"description": "Native interface to SQLite for PhoneGap/Cordova", | ||
@@ -33,3 +33,3 @@ "cordova": { | ||
"dependencies": { | ||
"cordova-sqlite-storage-dependencies": "1.1.0" | ||
"cordova-sqlite-storage-dependencies": "1.2.0" | ||
}, | ||
@@ -36,0 +36,0 @@ "scripts": { |
@@ -161,3 +161,3 @@ /* 'use strict'; */ | ||
it(suiteName + 'INSERT syntax error [VALUES in the wrong place] with a trailing space', function(done) { | ||
it(suiteName + 'INSERT syntax error [VALUES in the wrong place] with a trailing space [XXX "incomplete input" message]', function(done) { | ||
if (isWP8) pending('SKIP for WP(8)'); // FUTURE TBD | ||
@@ -200,8 +200,9 @@ | ||
expect(error.message).toMatch(/Error preparing an SQLite statement/); | ||
else if (isAndroid && !isImpl2) | ||
expect(error.message).toMatch(/sqlite3_prepare_v2 failure:.*near \" \": syntax error/); | ||
//* else if (isAndroid && !isImpl2) //* XXX TBD Android (default implementation) vs ... | ||
//* expect(error.message).toMatch(/sqlite3_prepare_v2 failure:.*near \" \": syntax error/); | ||
else if (isAndroid && isImpl2) | ||
expect(error.message).toMatch(/near \"VALUES\": syntax error.*code 1.*while compiling: INSERT INTO test_table/); | ||
else | ||
expect(error.message).toMatch(/near \" \": syntax error/); | ||
//* expect(error.message).toMatch(/near \" \": syntax error/); | ||
expect(error.message).toMatch(/incomplete input/); // XXX SQLite 3.22.0 | ||
@@ -231,4 +232,4 @@ // FAIL transaction & check reported transaction error: | ||
expect(error.message).toMatch(/error callback did not return false.*Error preparing an SQLite statement/); | ||
else | ||
expect(error.message).toMatch(/error callback did not return false.*syntax error/); | ||
//* else //* XXX TBD | ||
//* expect(error.message).toMatch(/error callback did not return false.*syntax error/); | ||
@@ -235,0 +236,0 @@ isWebSql ? done() : db.close(done, done); |
@@ -72,3 +72,3 @@ /* 'use strict'; */ | ||
if (!isWebSql && !(!isWindows && isAndroid && isImpl2)) | ||
expect(rs.rows.item(0).myResult).toBe('3.15.2'); | ||
expect(rs.rows.item(0).myResult).toBe('3.22.0'); | ||
@@ -75,0 +75,0 @@ // Close (plugin only) & finish: |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
1198062
19546
1647
+ Addedcordova-sqlite-storage-dependencies@1.2.0(transitive)
- Removedcordova-sqlite-storage-dependencies@1.1.0(transitive)