Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@saltcorn/sqlite-mobile

Package Overview
Dependencies
Maintainers
1
Versions
267
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saltcorn/sqlite-mobile - npm Package Compare versions

Comparing version 0.7.4 to 0.8.0-beta.0

6

dist/sqlite-cordova.d.ts

@@ -107,2 +107,8 @@ /**

export declare const listScTables: () => Promise<any>;
/**
*
* @param name table name
* @returns
*/
export declare const tableExists: (name: string) => Promise<any>;
//# sourceMappingURL=sqlite-cordova.d.ts.map

14

dist/sqlite-cordova.js

@@ -7,3 +7,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.listScTables = exports.listUserDefinedTables = exports.listTables = exports.drop_unique_constraint = exports.add_unique_constraint = exports.update = exports.selectOne = exports.selectMaybeOne = exports.deleteWhere = exports.count = exports.drop_reset_schema = exports.select = exports.insert = exports.query = exports.init = exports.setConnectionObject = void 0;
exports.tableExists = exports.listScTables = exports.listUserDefinedTables = exports.listTables = exports.drop_unique_constraint = exports.add_unique_constraint = exports.update = exports.selectOne = exports.selectMaybeOne = exports.deleteWhere = exports.count = exports.drop_reset_schema = exports.select = exports.insert = exports.query = exports.init = exports.setConnectionObject = void 0;
const internal_1 = require("@saltcorn/db-common/internal");

@@ -42,3 +42,3 @@ const sqlite_commons_1 = require("@saltcorn/db-common/sqlite-commons");

if (params?.length) {
/// https://github.com/storesafe/cordova-sqlite-storage/issues/545
// https://github.com/storesafe/cordova-sqlite-storage/issues/545
params = params.map((param) => param === false ? 0 : param === true ? 1 : param);

@@ -211,2 +211,12 @@ }

exports.listScTables = listScTables;
/**
*
* @param name table name
* @returns
*/
const tableExists = async (name) => {
const tables = await (0, exports.listTables)();
return tables.find((table) => table.name === name);
};
exports.tableExists = tableExists;
//# sourceMappingURL=sqlite-cordova.js.map

4

package.json
{
"name": "@saltcorn/sqlite-mobile",
"version": "0.7.4",
"version": "0.8.0-beta.0",
"description": "cordova-sqlite-storage structures for Saltcorn, open-source no-code platform",

@@ -29,3 +29,3 @@ "homepage": "https://saltcorn.com",

"dependencies": {
"@saltcorn/db-common": "0.7.4"
"@saltcorn/db-common": "0.8.0-beta.0"
},

@@ -32,0 +32,0 @@ "repository": "github:saltcorn/saltcorn",

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