Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use upstream node-sql-parser package #70

Merged
merged 3 commits into from
Dec 11, 2023

Conversation

LucianBuzzo
Copy link
Contributor

This changes Yates to use the original upstream node-sql-parser package. The only reason Yates uses my fork is because at the time the exprToSQL method I contributed was not available in the general release. Fast-forward to 10 months later and my fork is now 499 commits behind master XD
The only real difference that has to be made is the way that $n parameters are represented in the AST, but this is a simple change to make.

Copy link
Contributor

github-actions bot commented Dec 8, 2023

Published beta package version: 3.0.0-beta.dangerous.763d78b

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
node-sql-parser 4.12.0 None +0 57 MB taozhi8833998

🚮 Removed packages: @lucianbuzzo/node-sql-parser@4.6.6

Copy link
Member

@SarjuHansaliya SarjuHansaliya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LucianBuzzo I fixed some ts & linting issue but looks like its failing in integration tests

@LucianBuzzo
Copy link
Contributor Author

@SarjuHansaliya Oh I was literally working on this right now 😂

@LucianBuzzo
Copy link
Contributor Author

I'll take it from here

This changes Yates to use the original upstream node-sql-parser package.
The only reason Yates uses my fork is because at the time the
`exprToSQL` method I contributed was not available in the general
release. Fast-forward to 10 months later and my fork is now 499 commits
behind master XD
The only real difference that has to be made is the way that `$n`
parameters are represented in the AST, but this is a simple change to
make.

Signed-off-by: Lucian Buzzo <lucian.buzzo@gmail.com>
Signed-off-by: Lucian Buzzo <lucian.buzzo@gmail.com>
Signed-off-by: Lucian Buzzo <lucian.buzzo@gmail.com>
Copy link

sonarcloud bot commented Dec 11, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@LucianBuzzo LucianBuzzo merged commit ba82f6e into master Dec 11, 2023
7 checks passed
@LucianBuzzo LucianBuzzo deleted the lucianbuzzo/sql-parser branch December 11, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants