@capacitor-community/sqlite
Advanced tools
Comparing version 3.1.2-1 to 3.1.2
@@ -0,1 +1,13 @@ | ||
## 3.1.2 (2021-07-24) | ||
### Chore | ||
- Update to Capacitor 3.1.2 | ||
### Bug Fixes | ||
- copyFromAssets fails on Android 6 issue#151 | ||
- CapacitorSQLite.toJSON Android #144 fix by Capacitor 3.1.2 | ||
- remove temporary fix for Wrong values on insert and query issue#125 fix by Capacitor 3.1.2 | ||
## 3.1.2-1 (2021-07-14) | ||
@@ -2,0 +14,0 @@ |
@@ -273,2 +273,3 @@ /** | ||
} | ||
console.log(`&&&&& in DBConnection query ${JSON.stringify(res)}`); | ||
return Promise.resolve(res); | ||
@@ -284,27 +285,8 @@ } | ||
if (values && values.length > 0) { | ||
/* temporary fix for [null,null] -> [null,"..."] */ | ||
const vals = []; | ||
for (const val of values) { | ||
if (val != null) { | ||
vals.push(val); | ||
} | ||
else { | ||
vals.push(undefined); | ||
} | ||
} | ||
res = await this.sqlite.run({ | ||
database: this.dbName, | ||
statement: statement, | ||
values: vals, | ||
values: values, | ||
transaction: transaction, | ||
}); | ||
/* end of temporary fix */ | ||
/* | ||
res = await this.sqlite.run({ | ||
database: this.dbName, | ||
statement: statement, | ||
values: values, | ||
transaction: transaction, | ||
}); | ||
*/ | ||
} | ||
@@ -311,0 +293,0 @@ else { |
@@ -279,2 +279,3 @@ 'use strict'; | ||
} | ||
console.log(`&&&&& in DBConnection query ${JSON.stringify(res)}`); | ||
return Promise.resolve(res); | ||
@@ -290,27 +291,8 @@ } | ||
if (values && values.length > 0) { | ||
/* temporary fix for [null,null] -> [null,"..."] */ | ||
const vals = []; | ||
for (const val of values) { | ||
if (val != null) { | ||
vals.push(val); | ||
} | ||
else { | ||
vals.push(undefined); | ||
} | ||
} | ||
res = await this.sqlite.run({ | ||
database: this.dbName, | ||
statement: statement, | ||
values: vals, | ||
values: values, | ||
transaction: transaction, | ||
}); | ||
/* end of temporary fix */ | ||
/* | ||
res = await this.sqlite.run({ | ||
database: this.dbName, | ||
statement: statement, | ||
values: values, | ||
transaction: transaction, | ||
}); | ||
*/ | ||
} | ||
@@ -317,0 +299,0 @@ else { |
@@ -276,2 +276,3 @@ var capacitorCapacitorSQLite = (function (exports, core) { | ||
} | ||
console.log(`&&&&& in DBConnection query ${JSON.stringify(res)}`); | ||
return Promise.resolve(res); | ||
@@ -287,27 +288,8 @@ } | ||
if (values && values.length > 0) { | ||
/* temporary fix for [null,null] -> [null,"..."] */ | ||
const vals = []; | ||
for (const val of values) { | ||
if (val != null) { | ||
vals.push(val); | ||
} | ||
else { | ||
vals.push(undefined); | ||
} | ||
} | ||
res = await this.sqlite.run({ | ||
database: this.dbName, | ||
statement: statement, | ||
values: vals, | ||
values: values, | ||
transaction: transaction, | ||
}); | ||
/* end of temporary fix */ | ||
/* | ||
res = await this.sqlite.run({ | ||
database: this.dbName, | ||
statement: statement, | ||
values: values, | ||
transaction: transaction, | ||
}); | ||
*/ | ||
} | ||
@@ -314,0 +296,0 @@ else { |
import commonjs from '@rollup/plugin-commonjs'; | ||
import NodeResolve from '@rollup/plugin-node-resolve'; | ||
import nodeResolve from '@rollup/plugin-node-resolve'; | ||
@@ -16,3 +16,3 @@ export default { | ||
external: ['@capacitor/core'], | ||
plugins: [NodeResolve(), commonjs()], | ||
plugins: [nodeResolve(), commonjs()], | ||
}; |
{ | ||
"name": "@capacitor-community/sqlite", | ||
"version": "3.1.2-1", | ||
"version": "3.1.2", | ||
"description": "Community plugin for native & electron SQLite databases", | ||
@@ -57,6 +57,6 @@ "main": "dist/plugin.cjs.js", | ||
"devDependencies": { | ||
"@capacitor/android": "^3.1.1", | ||
"@capacitor/core": "3.1.1", | ||
"@capacitor/android": "^3.1.2", | ||
"@capacitor/core": "3.1.2", | ||
"@capacitor/docgen": "^0.0.17", | ||
"@capacitor/ios": "^3.1.1", | ||
"@capacitor/ios": "^3.1.2", | ||
"@ionic/eslint-config": "^0.3.0", | ||
@@ -77,3 +77,3 @@ "@ionic/prettier-config": "^1.0.1", | ||
"peerDependencies": { | ||
"@capacitor/core": "^3.1.1" | ||
"@capacitor/core": "^3.1.2" | ||
}, | ||
@@ -80,0 +80,0 @@ "prettier": "@ionic/prettier-config", |
@@ -19,3 +19,3 @@ <p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p> | ||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> | ||
<a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-4-orange?style=flat-square" /></a> | ||
<a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-5-orange?style=flat-square" /></a> | ||
<!-- ALL-CONTRIBUTORS-BADGE:END --> | ||
@@ -34,2 +34,6 @@ </p> | ||
🚨 Since release 3.1.2 ->> 🚨 | ||
Thanks to Nirajhinge and Chris, an example of using the TypeORM driver in a Ionic/Vue app has been developed see `https://github.com/jepiqueau/vue-typeorm-app`. | ||
🚨 Since release 3.0.0-rc.2 ->> 🚨 | ||
@@ -41,3 +45,3 @@ | ||
- GlobalSQLite `secret`and `newsecret` are deprecated | ||
- GlobalSQLite `secret` and `newsecret` are deprecated | ||
@@ -302,2 +306,3 @@ - The user can now set its own secure secret (passphrase) | ||
<td align="center"><a href="https://github.com/chriswep"><img src="https://avatars2.githubusercontent.com/u/1055809?s=400&u=e555940f143da8be255743028d6838cb5c020b44&v=4" width="100px;" alt=""/><br /><sub><b>Chriswep</b></sub></a><br /><a href="https://github.com/capacitor-community/sqlite/commits?author=jepiqueau" title="Documentation">📖</a></td> | ||
<td align="center"><a href="https://github.com/nirajhinge"><img src="https://avatars.githubusercontent.com/u/54309996?v=4" width="100px;" alt=""/><br /><sub><b>Nirajhinge</b></sub></a><br /><a href="https://github.com/capacitor-community/sqlite/commits?author=jepiqueau" title="Code">💻</a></td> | ||
</tr> | ||
@@ -304,0 +309,0 @@ </table> |
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 not supported yet
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
2
313
680575
2672