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

@balena/abstract-sql-to-typescript

Package Overview
Dependencies
Maintainers
4
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@balena/abstract-sql-to-typescript - npm Package Compare versions

Comparing version 1.1.0-reverse-references-3805f8e36d11173a85330c6ef23514dcc9dfa863 to 1.1.0-reverse-references-f88906a47a0fab33064a46c5b9d56798f9adf2e0

3

CHANGELOG.md

@@ -10,2 +10,5 @@ # Change Log

* Add support for reverse references using relationships info [Pagan Gazzard]
## 1.0.3 - 2020-12-30
* Use the referenced field's data type for foreign keys/concept types [Pagan Gazzard]

@@ -12,0 +15,0 @@

2

package.json
{
"name": "@balena/abstract-sql-to-typescript",
"version": "1.1.0-reverse-references-3805f8e36d11173a85330c6ef23514dcc9dfa863",
"version": "1.1.0-reverse-references-f88906a47a0fab33064a46c5b9d56798f9adf2e0",
"description": "A translator for abstract sql into typescript types.",

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

@@ -150,4 +150,3 @@ import {

return Object.keys(relationships).flatMap((key) => {
// We skip `has` a the top level as we omit it by convention //, and we skip any
// if (key === 'has' || m.tables[key] != null) {
// We skip `has` a the top level as we omit it by convention
if (key === 'has') {

@@ -154,0 +153,0 @@ return [];

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