@capacitor-community/sqlite 7.0.2 → 7.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -121,6 +121,16 @@ You'll need the usual capacitor/android/react npm script to build and copy the a
|
|
|
121
121
|
|
|
122
122
|
- Copy manually the file `sql-wasm.wasm` from `node_modules/sql.js/dist/sql-wasm.wasm` to the `public/assets` folder of YOUR_APP
|
|
123
123
|
|
|
124
|
+
## Web Debugging Tools
|
|
125
|
+
|
|
126
|
+
When using the Web platform, SQLite databases are backed by `jeep-sqlite` and stored in IndexedDB, which can be difficult to inspect during development.
|
|
127
|
+
|
|
128
|
+
For easier debugging, there is a Chrome DevTools extension that allows browsing, querying, and exporting `jeep-sqlite` databases directly from IndexedDB:
|
|
129
|
+
|
|
130
|
+
- **Jeep SQLite Browser (Chrome DevTools Extension)**
|
|
131
|
+
- Chrome Web Store: https://chromewebstore.google.com/detail/jeep-sqlite-browser/ocgeealadeabmhponndjebghfkbfbnch
|
|
132
|
+
- GitHub: https://github.com/pinguluk/jeep-sqlite-browser
|
|
133
|
+
|
|
124
134
|
## Android Quirks
|
|
125
135
|
|
|
126
136
|
- In case you get the following error when building your app in Android Studio:
|
|
@@ -342,7 +342,7 @@ public class ExportToJson {
|
|
|
342
342
|
// first word as key
|
|
343
343
|
for (String s : sch) {
|
|
344
344
|
String sc = s.replaceAll("\n", "").trim();
|
|
345
|
-
String[] row = sc.trim().split("
|
|
345
|
+
String[] row = sc.trim().split("\\s+", 2);
|
|
346
346
|
JsonColumn jsonRow = new JsonColumn();
|
|
347
347
|
String uppercasedValue = row[0].toUpperCase(); // Define uppercasedValue
|
|
348
348
|
int oPar;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor-community/sqlite",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.3",
|
|
4
4
|
"description": "Community plugin for native & electron SQLite databases",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"watch": "tsc --watch",
|
|
58
58
|
"test": "echo \"No test specified\"",
|
|
59
59
|
"prepublishOnly": "npm run build && npm run build-electron && npm run docgen",
|
|
60
|
-
"release": "
|
|
60
|
+
"release": "commit-and-tag-version"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@capacitor/android": "7.0.0",
|
|
@@ -70,12 +70,12 @@
|
|
|
70
70
|
"@ionic/swiftlint-config": "2.0.0",
|
|
71
71
|
"@rollup/plugin-commonjs": "28.0.2",
|
|
72
72
|
"@rollup/plugin-node-resolve": "16.0.0",
|
|
73
|
+
"commit-and-tag-version": "12.6.1",
|
|
73
74
|
"eslint": "8.57.0",
|
|
74
75
|
"prettier": "3.4.2",
|
|
75
76
|
"prettier-plugin-java": "2.6.6",
|
|
76
77
|
"rimraf": "6.0.1",
|
|
77
78
|
"rollup": "4.30.1",
|
|
78
|
-
"standard-version": "9.5.0",
|
|
79
79
|
"swiftlint": "2.0.0",
|
|
80
80
|
"typescript": "4.1.5"
|
|
81
81
|
},
|