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

djorm-db-sqlite

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

djorm-db-sqlite - npm Package Compare versions

Comparing version 0.1.19-alpha.8 to 0.1.19-alpha.9

4

package.json
{
"name": "djorm-db-sqlite",
"version": "0.1.19-alpha.8",
"version": "0.1.19-alpha.9",
"description": "Sqlite bindings for djorm",

@@ -29,3 +29,3 @@ "author": "Pavel Žák <pavel@zak.global>",

},
"gitHead": "b8cb3dea84a1039f4b910093649261697a6ac2fa"
"gitHead": "91d177556d5b841c84ef24749c9cdfca27108da7"
}

@@ -27,9 +27,15 @@ const { Database } = require('djorm/db/Database')

async connectDb () {
this.db = sqlite(this.path)
createDb () {
const db = sqlite(this.path)
if (this.props.unsafeMode) {
this.db.unsafeMode()
db.unsafeMode(true)
}
db.pragma('journal_mode = WAL')
return db
}
async connectDb () {
this.db = this.createDb()
}
async disconnectDb () {

@@ -36,0 +42,0 @@ this.db.close()

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