Comparing version 2.10.0 to 2.10.1
{ | ||
"name": "leoric", | ||
"version": "2.10.0", | ||
"version": "2.10.1", | ||
"description": "JavaScript Object-relational mapping alchemy", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -38,3 +38,4 @@ 'use strict'; | ||
if (entry.isFile() && ['.js', '.mjs'].includes(extname)) { | ||
const model = require(path.join(dir, entry.name)); | ||
const exports = require(path.join(dir, entry.name)); | ||
const model = exports.__esModule ? exports.default : exports; | ||
if (isBone(model)) models.push(model); | ||
@@ -41,0 +42,0 @@ } |
@@ -390,3 +390,2 @@ 'use strict'; | ||
Object.assign(this, { | ||
columns: [], | ||
whereConditions: [], | ||
@@ -811,2 +810,3 @@ groups: [], | ||
const spell = this.dup; | ||
spell.columns = []; | ||
this.#emptySpell(); | ||
@@ -813,0 +813,0 @@ this.table = { type: 'subquery', value: spell }; |
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
361119
9957