Update dependency @ts-safeql/eslint-plugin to v5.4.0#412
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.3.2→5.4.0Release Notes
ts-safeql/safeql (@ts-safeql/eslint-plugin)
v5.4.0Compare Source
Minor Changes
4aa9ca9: Add@ts-safeql/plugin-kysely, a first-class Kysely integration for SafeQL.The plugin validates Kysely raw
sqltemplates and, whenkysely({ builder: true })is enabled,raw SQL fragments inside Kysely query-builder chains. Pure Kysely builder queries stay covered by
Kysely's own types; SafeQL focuses on the raw SQL it can reconstruct statically.
Kysely TypeScript migrations can now build the shadow database used during validation, so SafeQL
checks your queries against the schema your migrations actually produce — no separate database
setup required.
The shared plugin API now supports custom migration runners and non-template query resolution.
Those hooks keep the ESLint rule generic while letting plugins teach SafeQL how each SQL library
represents queries.
Patch Changes
4f56bd9: Fix SQL type inference for nullable booleans, CTEs, and subselects.Nullable boolean expressions (for example
CASE WHEN … THEN col = 1 ELSE NULL END) now inferboolean | nullinstead of being dropped. Columns selected through CTEs or subselects keep the nullability from their defining query, including afterLEFT JOIN. Column references inside those scopes also resolve against the selected output name, not only an explicit alias.Updated dependencies [
4aa9ca9]Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.