Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@balena/abstract-sql-compiler

Package Overview
Dependencies
Maintainers
3
Versions
467
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@balena/abstract-sql-compiler - npm Package Compare versions

Comparing version 9.1.1 to 9.1.2-build-joshbwlng-big-serial-cast-a1f883be6d8e4f7098937ea27df29bba92df43aa-1

4

CHANGELOG.md

@@ -7,2 +7,6 @@ # Change Log

## 9.1.2 - 2024-04-08
* Cast Big Serial to integer [Josh Bowling]
## 9.1.1 - 2024-03-26

@@ -9,0 +13,0 @@

2

out/AbstractSQLRules2SQL.js

@@ -767,3 +767,3 @@ "use strict";

}
else if (dbType.toUpperCase() === 'SERIAL') {
else if (['SERIAL', 'BIGSERIAL'].includes(dbType.toUpperCase())) {
type = 'INTEGER';

@@ -770,0 +770,0 @@ }

{
"name": "@balena/abstract-sql-compiler",
"version": "9.1.1",
"version": "9.1.2-build-joshbwlng-big-serial-cast-a1f883be6d8e4f7098937ea27df29bba92df43aa-1",
"description": "A translator for abstract sql into sql.",

@@ -64,4 +64,4 @@ "main": "out/AbstractSQLCompiler.js",

"versionist": {
"publishedAt": "2024-03-26T09:58:53.324Z"
"publishedAt": "2024-04-08T04:40:59.406Z"
}
}

@@ -879,5 +879,5 @@ import * as _ from 'lodash';

type = dbType.castType;
} else if (dbType.toUpperCase() === 'SERIAL') {
// HACK: SERIAL type in postgres is really an INTEGER with automatic sequence,
// so it's not actually possible to cast to SERIAL, instead you have to cast to INTEGER.
} else if (['SERIAL', 'BIGSERIAL'].includes(dbType.toUpperCase())) {
// HACK: SERIAL and BIGSERIAL types in postgres are really an INTEGER with automatic sequence,
// so it's not actually possible to cast to SERIAL or BIGSERIAL, instead you have to cast to INTEGER.
type = 'INTEGER';

@@ -884,0 +884,0 @@ } else {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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