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

orm

Package Overview
Dependencies
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orm - npm Package Compare versions

Comparing version 2.1.9 to 2.1.10

11

lib/Drivers/DML/sqlite.js

@@ -218,8 +218,9 @@ var _ = require("lodash");

Driver.prototype.clear = function (table, cb) {
var query = "DELETE FROM " + this.query.escapeId(table);
var debug = this.opts.debug;
if (this.opts.debug) {
require("../../Debug").sql('sqlite', query);
}
this.db.all(query, cb);
this.execQuery("DELETE FROM ??", [table], function (err) {
if (err) return cb(err);
this.execQuery("DELETE FROM ?? WHERE NAME = ?", ['sqlite_sequence', table], cb);
}.bind(this));
};

@@ -226,0 +227,0 @@

@@ -15,3 +15,3 @@ {

],
"version" : "2.1.9",
"version" : "2.1.10",
"license" : "MIT",

@@ -42,3 +42,3 @@ "homepage" : "http://dresende.github.io/node-orm2",

"sql-query" : "git://github.com/dresende/node-sql-query.git#v0.1.17",
"sql-ddl-sync" : "git://github.com/dresende/node-sql-ddl-sync.git#v0.3.3",
"sql-ddl-sync" : "git://github.com/dresende/node-sql-ddl-sync.git#v0.3.5",
"hat" : "0.0.3",

@@ -45,0 +45,0 @@ "lodash" : "2.4.1"

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