Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-sqlite-storage

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-sqlite-storage - npm Package Compare versions

Comparing version 2.2.1 to 2.3.0

4

CHANGES.md
# 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 @@

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc