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

uk.co.workingedge.cordova.plugin.sqliteporter

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uk.co.workingedge.cordova.plugin.sqliteporter - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

2

package.json
{
"version": "0.1.6",
"version": "0.1.7",
"name": "uk.co.workingedge.cordova.plugin.sqliteporter",

@@ -4,0 +4,0 @@ "cordova_name": "sqlite porter",

@@ -181,9 +181,11 @@ /**

var row = results.rows.item(i);
if (row.sql != null && row.sql.indexOf("CREATE TABLE") != -1 && row.sql.indexOf("__") == -1) {
if(row.sql == null || row.sql.indexOf("__") != -1) continue;
if (row.sql.indexOf("CREATE TABLE") != -1) {
var tableName = sqlUnescape(trimWhitespace(trimWhitespace(row.sql.replace("CREATE TABLE", "")).split(/ |\(/)[0]));
if(!isReservedTable(tableName)) {
sqlStatements.push("DROP TABLE IF EXISTS " + sqlEscape(tableName));
sqlStatements.push(row.sql);
}
}
if(row.sql != null && row.sql.indexOf("__") == -1){
}else{
sqlStatements.push(row.sql);

@@ -190,0 +192,0 @@ }

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