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

monstrous

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monstrous - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

## [0.1.6](https://gitlab.com/monstrous/monstrous/compare/v0.1.5...v0.1.6) (2023-07-14)
### Bug Fixes
* preserve fk relation name when aliasing ([f2bb3ac](https://gitlab.com/monstrous/monstrous/commit/f2bb3ac8cbf8aaa23ef0f4ff90d815cbdc7d8d34))
## [0.1.5](https://gitlab.com/monstrous/monstrous/compare/v0.1.4...v0.1.5) (2023-03-27)

@@ -7,0 +14,0 @@

4

lib/database/relation.js

@@ -17,4 +17,4 @@ import Statement from '../statement/index.js';

...fk,
reference_schema: null,
reference: this.name
reference_schema: spec.schema,
reference: spec.name // keys are always de-aliased!
}));

@@ -21,0 +21,0 @@

@@ -152,3 +152,5 @@ import pgp from 'pg-promise';

window(partition_by, order_by) {
window(expr) {
const next = this.clone('#window');
return this;

@@ -165,2 +167,8 @@ }

having() {
const next = this.clone('#having');
return next;
}
order(...fields) {

@@ -167,0 +175,0 @@ const next = this.clone();

@@ -120,3 +120,3 @@ import pgp from 'pg-promise';

// existence
// TODO implement; subqueries currently only support `in`
// TODO implement as $exists key; subqueries currently only support `in`
['exists', mutators.subquery],

@@ -123,0 +123,0 @@ ['not', 'exists', mutators.subquery]

{
"name": "monstrous",
"version": "0.1.5",
"version": "0.1.6",
"description": "a lightweight SQL composer for Node.js and PostgreSQL",

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

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