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 1.13.4 to 1.13.5

9

History.md

@@ -0,1 +1,10 @@

1.13.5 / 2021-10-26
===================
## What's Changed
* docs: enhance aggregation query types & fix raw query result type by @cyjake in https://github.com/cyjake/leoric/pull/208
**Full Changelog**: https://github.com/cyjake/leoric/compare/v1.13.4...v1.13.5
1.13.4 / 2021-10-25

@@ -2,0 +11,0 @@ ===================

2

package.json
{
"name": "leoric",
"version": "1.13.4",
"version": "1.13.5",
"description": "JavaScript Object-relational mapping alchemy",

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

@@ -52,3 +52,3 @@ interface ExprIdentifier {

type WithOptions = {
[qualifier: string]: { select: string[], throughRelation: string }
[qualifier: string]: { select: string | string[], throughRelation?: string }
}

@@ -95,7 +95,7 @@

count(name?: string): Spell<T, ResultSet>;
average(name?: string): Spell<T, ResultSet>;
minimum(name?: string): Spell<T, ResultSet>;
maximum(name?: string): Spell<T, ResultSet>;
sum(name?: string): Spell<T, ResultSet>;
count(name?: string): Spell<T, Extract<U, ResultSet | number>>;
average(name?: string): Spell<T, Extract<U, ResultSet | number>>;
minimum(name?: string): Spell<T, Extract<U, ResultSet | number>>;
maximum(name?: string): Spell<T, Extract<U, ResultSet | number>>;
sum(name?: string): Spell<T, Extract<U, ResultSet | number>>;

@@ -166,4 +166,4 @@ batch(size?: number): AsyncIterable<T>;

affectedRows?: number;
rows?: Record<string, Literal>,
fields?: { table: string, name: string },
rows?: Array<Record<string, Literal>>,
fields?: Array<{ table: string, name: string }>,
}

@@ -429,7 +429,7 @@

static count<T extends typeof Bone>(this: T, name?: string): Spell<T, ResultSet>;
static average<T extends typeof Bone>(this: T, name?: string): Spell<T, ResultSet>;
static minimum<T extends typeof Bone>(this: T, name?: string): Spell<T, ResultSet>;
static maximum<T extends typeof Bone>(this: T, name?: string): Spell<T, ResultSet>;
static sum<T extends typeof Bone>(this: T, name?: string): Spell<T, ResultSet>;
static count<T extends typeof Bone>(this: T, name?: string): Spell<T, ResultSet | number>;
static average<T extends typeof Bone>(this: T, name?: string): Spell<T, ResultSet | number>;
static minimum<T extends typeof Bone>(this: T, name?: string): Spell<T, ResultSet | number>;
static maximum<T extends typeof Bone>(this: T, name?: string): Spell<T, ResultSet | number>;
static sum<T extends typeof Bone>(this: T, name?: string): Spell<T, ResultSet | number>;

@@ -436,0 +436,0 @@ /**

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