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

@capacitor-community/sqlite

Package Overview
Dependencies
Maintainers
33
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 3.2.0-2 to 3.2.0-3

8

CHANGELOG.md

@@ -0,1 +1,7 @@

## 3.2.0-3 (2021-08-25)
### Chore
- Update to @capacitor-community/electron 4.0.3
## 3.2.0-2 (2021-08-23)

@@ -9,3 +15,3 @@

- Add Electron plugin part based on sqlite3
- Add Electron plugin part based on sqlite3 and @capacitor-community/electron 3.1.0

@@ -12,0 +18,0 @@ ## 3.2.0-1 (2021-08-23)

import { registerPlugin } from '@capacitor/core';
const CapacitorSQLite = registerPlugin('CapacitorSQLite', {
web: () => import('./web').then(m => new m.CapacitorSQLiteWeb()),
electron: () => window.CapacitorCustomPlatform.plugins.CapacitorSQLite,
});

@@ -5,0 +6,0 @@ export { CapacitorSQLite };

@@ -481,2 +481,3 @@ 'use strict';

web: () => Promise.resolve().then(function () { return web; }).then(m => new m.CapacitorSQLiteWeb()),
electron: () => window.CapacitorCustomPlatform.plugins.CapacitorSQLite,
});

@@ -483,0 +484,0 @@

@@ -478,2 +478,3 @@ var capacitorCapacitorSQLite = (function (exports, core) {

web: () => Promise.resolve().then(function () { return web; }).then(m => new m.CapacitorSQLiteWeb()),
electron: () => window.CapacitorCustomPlatform.plugins.CapacitorSQLite,
});

@@ -480,0 +481,0 @@

2

electron/rollup.config.js

@@ -15,4 +15,4 @@ import commonjs from '@rollup/plugin-commonjs';

],
external: ['@capacitor/core', 'sqlite3'],
external: ['@capacitor/core', 'sqlite3', 'path', 'fs', 'os'],
plugins: [nodeResolve(), commonjs()],
};
{
"name": "@capacitor-community/sqlite",
"version": "3.2.0-2",
"version": "3.2.0-3",
"description": "Community plugin for native & electron SQLite databases",

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

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

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
<a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-5-orange?style=flat-square" /></a>
<a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-7-orange?style=flat-square" /></a>
<!-- ALL-CONTRIBUTORS-BADGE:END -->

@@ -32,2 +32,6 @@ </p>

🚨 Since release 3.2.0-3 ->> 🚨
The Electron plugin is now based on `@capacitor-community/electron@4.0.3` thanks to the hard and heavy work from `Mike Summerfeldt IT-MikeS` 👏 🙏
🚨 Since release 3.2.0-2 ->> 🚨

@@ -151,8 +155,14 @@ 🚨 !!! for Electron developper, the Electron plugin is back !!! 🚨

npm run build
npx cap sync
npx cap add android
npx cap add ios
// npx cap add @capacitor-community/electron not working
npx cap add @capacitor-community/electron
```
and do when you update
```bash
npx cap sync
npx cap sync @capacitor-community/electron
```
### IOS

@@ -167,6 +177,11 @@

### Electron 🚧 (NOT WORKING YET)
### Electron
- On Electron, go to the Electron folder of YOUR_APPLICATION
```bash
npm install --save sqlite3
npm install --save-dev @types/sqlite3
npm run build
```

@@ -178,2 +193,3 @@ ## Build & Run

npx cap copy
npx cap copy @capacitor-community/electron
```

@@ -298,2 +314,3 @@

The IOS and Android codes are using `SQLCipher` allowing for database encryption
The Electron code is using `sqlite3`

@@ -314,2 +331,4 @@ ## Contributors ✨

<td align="center"><a href="https://github.com/nirajhinge"><img src="https://avatars.githubusercontent.com/u/54309996?v=4" width="100px;" alt=""/><br /><sub><b>Nirajhinge</b></sub></a><br /><a href="https://github.com/capacitor-community/sqlite/commits?author=jepiqueau" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/digaus"><img src="https://avatars.githubusercontent.com/u/15358538?v=4" width="100px;" alt=""/><br /><sub><b>Digaus</b></sub></a><br /><a href="https://github.com/capacitor-community/sqlite/commits?author=jepiqueau" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/IT-MikeS"><img src="https://avatars.githubusercontent.com/u/20338451?v=4" width="100px;" alt=""/><br /><sub><b>Mike Summerfeldt</b></sub></a><br /><a href="https://github.com/capacitor-community/sqlite/commits?author=jepiqueau" title="Code">💻</a></td>
</tr>

@@ -316,0 +335,0 @@ </table>

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