Comparing version 2.0.1 to 2.0.2
@@ -171,3 +171,3 @@ "use strict"; | ||
return this.type && this.default !== undefined ? (_a = this._default) !== null && _a !== void 0 ? _a : (() => { | ||
const val = Column.transformValue(this.defaultValue, this.type); | ||
const val = Column.transformValue(this.default, this.type); | ||
this._default = val; | ||
@@ -174,0 +174,0 @@ return val; |
@@ -44,2 +44,7 @@ import { TypedEmitter } from "tiny-typed-emitter"; | ||
/** | ||
* Deletes garbage from this database. | ||
* @returns | ||
*/ | ||
vacuum(): any; | ||
/** | ||
* Creates a table. | ||
@@ -46,0 +51,0 @@ * @param name The name for this table |
@@ -54,2 +54,10 @@ "use strict"; | ||
/** | ||
* Deletes garbage from this database. | ||
* @returns | ||
*/ | ||
vacuum() { | ||
var _a; | ||
return (_a = this.db) === null || _a === void 0 ? void 0 : _a.pragma("VACUUM"); | ||
} | ||
/** | ||
* Creates a table. | ||
@@ -56,0 +64,0 @@ * @param name The name for this table |
{ | ||
"name": "dbdts.db", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Easy to use wrapper for sqlite databases, mainly designed for use with dbd.ts package.", | ||
@@ -5,0 +5,0 @@ "exports": { |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
800042
4853
0