@capacitor-community/sqlite 5.2.4 → 5.2.5

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.
@@ -136,9 +136,9 @@ public class UtilsSQLStatement {
136
136
  Set<String> keywords = new HashSet<>(Arrays.asList("AND", "OR", "IN", "VALUES", "LIKE", "BETWEEN", "NOT"));
137
137
 
138
138
  Pattern pattern = Pattern.compile(
139
- "\\b[a-zA-Z]\\w*\\b(?=\\s*(?:<=?|>=?|<>?|=|AND|OR|BETWEEN|NOT|IN|LIKE))|" +
139
+ "\\b[a-zA-Z]\\w*\\b(?=\\s*(?:<=?|>=?|<>?|=|AND|OR|BETWEEN|NOT|IN|LIKE))|" +
140
140
  "\\b[a-zA-Z]\\w*\\b\\s+BETWEEN\\s+'[^']+'\\s+AND\\s+'[^']+'|" +
141
- "\\(([^)]+)\\)\\s+IN\\s+\\(VALUES"
141
+ "\\(([^)]+)\\)\\s+IN\\s+\\(\\s*VALUES\\s*\\("
142
142
  );
143
143
  Matcher matcher = pattern.matcher(whereClause);
144
144
  List<String> columns = new ArrayList<>();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor-community/sqlite",
3
- "version": "5.2.4",
3
+ "version": "5.2.5",
4
4
  "description": "Community plugin for native & electron SQLite databases",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",