You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

sql-metadata

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sql-metadata - pypi Package Compare versions

Comparing version
2.18.0
to
2.19.0
+1
-1
PKG-INFO
Metadata-Version: 2.4
Name: sql_metadata
Version: 2.18.0
Version: 2.19.0
Summary: Uses tokenized query returned by python-sqlparse and generates query metadata

@@ -5,0 +5,0 @@ License: MIT

[tool.poetry]
name = "sql_metadata"
version = "2.18.0"
version = "2.19.0"
license="MIT"

@@ -20,3 +20,3 @@ description = "Uses tokenized query returned by python-sqlparse and generates query metadata"

[tool.poetry.dev-dependencies]
black = "^25.9"
black = "^25.11"
coverage = {extras = ["toml"], version = "^7.10"}

@@ -23,0 +23,0 @@ pylint = "^3.3.9"

@@ -36,2 +36,3 @@ """

"TABLE",
"IFNOTEXISTS",
}

@@ -38,0 +39,0 @@

@@ -1008,2 +1008,3 @@ # pylint: disable=C0302

and not (token.normalized == "USING" and last_keyword == "SELECT")
and not (token.normalized == "IFNOTEXISTS")
):

@@ -1010,0 +1011,0 @@ last_keyword = token.normalized

@@ -265,3 +265,4 @@ """

and self.previous_token.normalized not in ["AS", "WITH"]
and self.normalized not in ["AS", "SELECT", "IF", "SET", "WITH"]
and self.normalized
not in ["AS", "SELECT", "IF", "SET", "WITH", "IFNOTEXISTS"]
)

@@ -292,3 +293,3 @@

and not self.previous_token.is_punctuation
and not self.previous_token.normalized == "EXISTS"
and not self.previous_token.normalized == "IFNOTEXISTS"
)

@@ -295,0 +296,0 @@ return is_alias_without_as or self.previous_token.is_right_parenthesis