@capacitor-community/sqlite
Advanced tools
Comparing version 2.4.3-1 to 2.4.3
@@ -0,1 +1,7 @@ | ||
## 2.4.3 (2020-12-19) | ||
### Bug Fixes | ||
- Fix issue#59 ExportToJson | ||
## 2.4.3-1 (2020-11-23) | ||
@@ -2,0 +8,0 @@ |
@@ -820,3 +820,19 @@ import { __awaiter } from "tslib"; | ||
let sstr = tables[i].sql.substring(openPar + 1, closePar); | ||
let isStrfTime = false; | ||
if (sstr.includes("strftime")) | ||
isStrfTime = true; | ||
let sch = sstr.replace(/\n/g, '').split(','); | ||
if (isStrfTime) { | ||
let nSch = []; | ||
for (let j = 0; j < sch.length; j++) { | ||
if (sch[j].includes("strftime")) { | ||
nSch.push(sch[j] + "," + sch[j + 1]); | ||
j++; | ||
} | ||
else { | ||
nSch.push(sch[j]); | ||
} | ||
} | ||
sch = [...nSch]; | ||
} | ||
for (let j = 0; j < sch.length; j++) { | ||
@@ -823,0 +839,0 @@ const rstr = sch[j].trim(); |
@@ -961,4 +961,18 @@ import { UtilsSQLite } from './UtilsSQLite'; | ||
let closePar: number = tables[i].sql.lastIndexOf(')'); | ||
let sstr: String = tables[i].sql.substring(openPar + 1, closePar); | ||
let sstr: string = tables[i].sql.substring(openPar + 1, closePar); | ||
let isStrfTime: boolean = false; | ||
if (sstr.includes('strftime')) isStrfTime = true; | ||
let sch: Array<string> = sstr.replace(/\n/g, '').split(','); | ||
if (isStrfTime) { | ||
let nSch: string[] = []; | ||
for (let j: number = 0; j < sch.length; j++) { | ||
if (sch[j].includes('strftime')) { | ||
nSch.push(sch[j] + ',' + sch[j + 1]); | ||
j++; | ||
} else { | ||
nSch.push(sch[j]); | ||
} | ||
} | ||
sch = [...nSch]; | ||
} | ||
for (let j: number = 0; j < sch.length; j++) { | ||
@@ -965,0 +979,0 @@ const rstr = sch[j].trim(); |
{ | ||
"name": "@capacitor-community/sqlite", | ||
"version": "2.4.3-1", | ||
"version": "2.4.3", | ||
"description": "Capacitor SQLite Plugin", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/capacitor-community/sqlite", |
Sorry, the diff of this file is not supported yet
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
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2319146
218
9505
0