New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

leoric

Package Overview
Dependencies
Maintainers
2
Versions
144
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 2.10.0-beta.0 to 2.10.0-beta.1

2

package.json
{
"name": "leoric",
"version": "2.10.0-beta.0",
"version": "2.10.0-beta.1",
"description": "JavaScript Object-relational mapping alchemy",

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

@@ -388,2 +388,17 @@ 'use strict';

#emptySpell() {
Object.assign(this, {
columns: [],
whereConditions: [],
groups: [],
orders: [],
havingConditions: [],
joins: {},
skip: 0,
subqueryIndex: 0,
rowCount: 0,
skip: 0,
});
}
get unscoped() {

@@ -794,2 +809,8 @@ const spell = this.dup;

$with(...qualifiers) {
if (this.rowCount > 0 || this.skip > 0) {
const spell = this.dup;
this.#emptySpell();
this.table = { type: 'subquery', value: spell };
}
for (const qualifier of qualifiers) {

@@ -796,0 +817,0 @@ if (isPlainObject(qualifier)) {

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