Socket
Socket
Sign inDemoInstall

@capacitor-community/sqlite

Package Overview
Dependencies
Maintainers
14
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capacitor-community/sqlite - npm Package Compare versions

Comparing version 2.4.2-6 to 2.4.2-7

android/src/main/java/com/getcapacitor/community/database/sqlite/cdssUtils/Binding.java

10

CHANGELOG.md

@@ -0,1 +1,11 @@

## 2.4.2-7 (2020-10-22)
### Added Features
- Add addUpgradeStatement for version upgrade (Android)
### Bug Fixes
- Fix README issue#47
## 2.4.2-6 (2020-10-16)

@@ -2,0 +12,0 @@

2

dist/esm/definitions.d.ts

@@ -109,3 +109,3 @@ declare module '@capacitor/core' {

* @returns Promise<capSQLiteResult>
* @since 2.4.2-6 iOS & Electron
* @since 2.4.2-6 iOS & Electron 2.4.2-7 Android
*/

@@ -112,0 +112,0 @@ addUpgradeStatement(options: capSQLiteUpgradeOptions): Promise<capSQLiteResult>;

@@ -110,2 +110,3 @@ declare module '@capacitor/core' {

* @since 2.4.2-6 iOS & Electron
* @since 2.4.2-7 Android
*/

@@ -112,0 +113,0 @@ addUpgradeStatement(options: capSQLiteUpgradeOptions): Promise<capSQLiteResult>;

{
"name": "@capacitor-community/sqlite",
"version": "2.4.2-6",
"version": "2.4.2-7",
"description": "Capacitor SQLite Plugin",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/capacitor-community/sqlite",

@@ -133,3 +133,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>

| isDBExists | ✅ | ✅ | ✅ | ❌ |
| addUpgradeStatement | ❌ | ✅ | ✅ | ❌ |
| addUpgradeStatement | ✅ | ✅ | ✅ | ❌ |

@@ -164,3 +164,3 @@ ## Documentation

import { Plugins } from '@capacitor/core';
import * as CapacitorSQLPlugin from '@capacitor-community/sqlite';
import '@capacitor-community/sqlite';
const { CapacitorSQLite,Device } = Plugins;

@@ -171,2 +171,3 @@

_sqlite: any;
_platform: string

@@ -177,9 +178,4 @@ ...

const info = await Device.getInfo();
if (info.platform === "ios" || info.platform === "android") {
this._sqlite = CapacitorSQLite;
} else if(info.platform === "electron") {
this._sqlite = CapacitorSQLPlugin.CapacitorSQLiteElectron;
} else {
this._sqlite = CapacitorSQLPlugin.CapacitorSQLite;
}
this._platform = info.platform;
this._sqlite = CapacitorSQLite;

@@ -280,5 +276,5 @@ }

const info = await Device.getInfo();
this._sqlite = CapacitorSQLite;
if (info.platform === "android") {
this._sqlite = CapacitorSQLite;
try {

@@ -285,0 +281,0 @@ // Show request popup

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

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

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