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

@balena/abstract-sql-compiler

Package Overview
Dependencies
Maintainers
3
Versions
475
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 7.12.2 to 7.12.3-remove-serial-hack-187bc075d237a2ced731d0a026ca25aa3e0f5540

4

CHANGELOG.md

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

## 7.12.3 - 2021-05-03
* Remove now unnecessary hack for casting SERIAL types [Pagan Gazzard]
## 7.12.2 - 2021-03-22

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

3

out/AbstractSQLRules2SQL.js

@@ -646,5 +646,2 @@ "use strict";

}
else if (dbType.toUpperCase() === 'SERIAL') {
type = 'INTEGER';
}
else {

@@ -651,0 +648,0 @@ type = dbType;

{
"name": "@balena/abstract-sql-compiler",
"version": "7.12.2",
"version": "7.12.3-remove-serial-hack-187bc075d237a2ced731d0a026ca25aa3e0f5540",
"description": "A translator for abstract sql into sql.",

@@ -20,3 +20,3 @@ "main": "out/AbstractSQLCompiler.js",

"@types/lodash": "^4.14.168",
"@types/node": "^10.17.55",
"@types/node": "^10.17.59",
"lodash": "^4.17.21"

@@ -26,7 +26,7 @@ },

"@balena/lf-to-abstract-sql": "^4.2.1",
"@balena/lint": "^5.4.1",
"@balena/lint": "^5.4.2",
"@balena/odata-parser": "^2.2.3",
"@balena/sbvr-parser": "^1.2.2",
"@resin/odata-to-abstract-sql": "^3.3.0",
"@types/chai": "^4.2.15",
"@types/chai": "^4.2.17",
"@types/common-tags": "^1.8.0",

@@ -41,3 +41,3 @@ "@types/mocha": "^8.2.2",

"ts-node": "^9.1.1",
"typescript": "^4.2.3"
"typescript": "^4.2.4"
},

@@ -44,0 +44,0 @@ "husky": {

@@ -747,6 +747,2 @@ 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.
type = 'INTEGER';
} else {

@@ -753,0 +749,0 @@ type = dbType;

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