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

leoric

Package Overview
Dependencies
Maintainers
1
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leoric - npm Package Compare versions

Comparing version 0.5.0-alpha.4 to 0.5.0-alpha.5

7

lib/drivers/sqlite/index.js

@@ -58,7 +58,7 @@ 'use strict';

class Connection {
constructor({ database, mode }) {
constructor({ database, mode, logger }) {
const { Database, OPEN_READWRITE, OPEN_CREATE } = sqlite;
if (mode == null) mode = OPEN_READWRITE | OPEN_CREATE;
this.database = new Database(database, mode);
this.logger = { info: debug };
this.logger = logger;
}

@@ -102,4 +102,5 @@

super(name, opts);
const { logger } = this;
this.type = 'sqlite';
this.connections = [ new Connection(opts) ];
this.connections = [ new Connection({ ...opts, logger }) ];
this.callbacks = [];

@@ -106,0 +107,0 @@ }

{
"name": "leoric",
"version": "0.5.0-alpha.4",
"version": "0.5.0-alpha.5",
"description": "JavaScript Object-relational mapping alchemy",

@@ -5,0 +5,0 @@ "main": "index.js",

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