Socket
Socket
Sign inDemoInstall

@capacitor-community/sqlite

Package Overview
Dependencies
Maintainers
42
Versions
242
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 5.5.1-2 to 5.5.1-3

4

dist/esm/definitions.d.ts

@@ -1271,3 +1271,3 @@ /**

*/
getMigratableDbList(folderPath: string): Promise<capSQLiteValues>;
getMigratableDbList(folderPath?: string): Promise<capSQLiteValues>;
/**

@@ -1337,3 +1337,3 @@ * Add SQLIte Suffix to existing databases

getDatabaseList(): Promise<capSQLiteValues>;
getMigratableDbList(folderPath: string): Promise<capSQLiteValues>;
getMigratableDbList(folderPath?: string): Promise<capSQLiteValues>;
addSQLiteSuffix(folderPath?: string, dbNameList?: string[]): Promise<void>;

@@ -1340,0 +1340,0 @@ deleteOldDatabases(folderPath?: string, dbNameList?: string[]): Promise<void>;

@@ -398,8 +398,6 @@ //import { Capacitor } from '@capacitor/core';

async getMigratableDbList(folderPath) {
if (!folderPath || folderPath.length === 0) {
return Promise.reject('You must provide a folder path');
}
const path = folderPath ? folderPath : 'default';
try {
const res = await this.sqlite.getMigratableDbList({
folderPath: folderPath,
folderPath: path,
});

@@ -406,0 +404,0 @@ return Promise.resolve(res);

@@ -404,8 +404,6 @@ 'use strict';

async getMigratableDbList(folderPath) {
if (!folderPath || folderPath.length === 0) {
return Promise.reject('You must provide a folder path');
}
const path = folderPath ? folderPath : 'default';
try {
const res = await this.sqlite.getMigratableDbList({
folderPath: folderPath,
folderPath: path,
});

@@ -412,0 +410,0 @@ return Promise.resolve(res);

@@ -401,8 +401,6 @@ var capacitorCapacitorSQLite = (function (exports, core) {

async getMigratableDbList(folderPath) {
if (!folderPath || folderPath.length === 0) {
return Promise.reject('You must provide a folder path');
}
const path = folderPath ? folderPath : 'default';
try {
const res = await this.sqlite.getMigratableDbList({
folderPath: folderPath,
folderPath: path,
});

@@ -409,0 +407,0 @@ return Promise.resolve(res);

{
"name": "@capacitor-community/sqlite",
"version": "5.5.1-2",
"version": "5.5.1-3",
"description": "Community plugin for native & electron SQLite databases",

@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js",

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 too big to display

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