oxlint-plugin-postgresql-security 2.6.4 → 2.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/README.md +193 -11
  2. package/index.d.ts +3 -0
  3. package/index.js +1 -1
  4. package/package.json +22 -11
package/README.md CHANGED
@@ -1,22 +1,204 @@
1
- # oxlint-plugin-postgresql-security
1
+ <p align="center">
2
+ <a href="https://eslint.interlace.tools/docs/security/plugin-postgresql-security?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-postgresql-security" target="blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://eslint.interlace.tools/logos/interlace-dark.svg"><img src="https://eslint.interlace.tools/logos/interlace-light.svg" alt="Interlace" height="90" /></picture></a>
3
+ &nbsp;&nbsp;
4
+ <a href="https://www.postgresql.org" target="_blank"><img src="https://eslint.interlace.tools/logos/postgresql.svg" alt="PostgreSQL" height="90" /></a>
5
+ &nbsp;&nbsp;
6
+ <a href="https://oxc.rs" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://eslint.interlace.tools/logos/oxlint-dark.svg"><img src="https://eslint.interlace.tools/logos/oxlint-light.svg" alt="oxlint" height="90" /></picture></a>
7
+ </p>
2
8
 
3
- [`eslint-plugin-postgresql-security`](https://www.npmjs.com/package/eslint-plugin-postgresql-security) for [Oxlint](https://oxc.rs) and [Vite+](https://viteplus.dev).
4
- Same rules, same `postgresql-security/*` rule IDs, one implementation — this package re-exports `eslint-plugin-postgresql-security/oxlint`.
9
+ <p align="center">
10
+ Security rules for PostgreSQL interaction in Node.js (SQL injection prevention).
11
+ </p>
12
+
13
+ <p align="center">
14
+ <a href="https://www.npmjs.com/package/oxlint-plugin-postgresql-security" target="_blank"><img src="https://img.shields.io/npm/v/oxlint-plugin-postgresql-security.svg" alt="NPM Version" /></a>
15
+ <a href="https://www.npmjs.com/package/oxlint-plugin-postgresql-security" target="_blank"><img src="https://img.shields.io/npm/dm/oxlint-plugin-postgresql-security.svg" alt="NPM Downloads" /></a>
16
+ <a href="https://packagephobia.com/result?p=oxlint-plugin-postgresql-security" target="_blank"><img src="https://badgen.net/packagephobia/install/oxlint-plugin-postgresql-security" alt="Install Size" /></a>
17
+ <a href="https://opensource.org/licenses/MIT" target="_blank"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="Package License" /></a>
18
+ <a href="https://app.codecov.io/gh/ofri-peretz/eslint/components?components%5B0%5D=eslint-plugin-postgresql-security" target="_blank"><img src="https://codecov.io/gh/ofri-peretz/eslint/graph/badge.svg?component=eslint-plugin-postgresql-security" alt="Codecov" /></a>
19
+ <a href="https://github.com/ofri-peretz/eslint" target="_blank"><img src="https://img.shields.io/badge/Since-Dec_2025-blue?logo=rocket&logoColor=white" alt="Since Dec 2025" /></a>
20
+ <a href="https://scorecard.dev/viewer/?uri=github.com/ofri-peretz/eslint" target="_blank"><img src="https://api.securityscorecards.dev/projects/github.com/ofri-peretz/eslint/badge" alt="OpenSSF Scorecard" /></a>
21
+ </p>
22
+
23
+ > ⭐ If this plugin caught a real bug for you, [**star the repo**](https://github.com/ofri-peretz/eslint) — it's the signal that keeps these rules maintained.
24
+
25
+ ## Description
26
+
27
+ `oxlint-plugin-postgresql-security` is the [oxlint](https://oxc.rs/docs/guide/usage/linter/js-plugins) and [Vite+](https://viteplus.dev/guide/lint) name for [`eslint-plugin-postgresql-security`](https://www.npmjs.com/package/eslint-plugin-postgresql-security). It carries the same rules under the same IDs (`postgresql-security/<rule>`), always at the same version, because it re-exports that package rather than copying it. Installing it does not install ESLint.
28
+
29
+ ## Why pg-specific?
30
+
31
+ A generic SQL injection linter can flag string concatenation wherever it appears, but it cannot know the parameterization convention for each database client. The `pg` (node-postgres) driver uses `$1, $2, …` positional placeholders with a second-argument array — a pattern no generic rule encodes. `eslint-plugin-postgresql-security` knows this contract: it only fires on `.query()` calls, it stays silent when a second argument (the values array) is present, and it tracks variable taint across assignment statements so that a split-line pattern like `const sql = "SELECT..." + id; client.query(sql)` is flagged even though the concatenation and the query call are on separate lines. The result is a rule with near-zero false positives on legitimate parameterized queries and reliable detection on the patterns that actually lead to SQL injection.
32
+
33
+ ## Covered natively by oxlint
34
+
35
+ None of these 13 rules has an oxlint built-in equivalent. Every rule here is new to oxlint.
36
+
37
+ - **Why** — a linter nobody reads protects nothing. We would rather miss a finding
38
+ than spend your attention on one that was never real.
39
+ - **How** — evidence, not names. A rule fires on what the code _does_, resolved
40
+ through the AST and ESLint's own scope analysis.
41
+ - **What** — every finding carries its fix, in prose for a human and as structured
42
+ JSON for an agent. Security rules add a CWE mapping and, where assigned, a CVSS score.
43
+
44
+ That trade costs recall, and we measure it:
45
+ [methodology](https://github.com/ofri-peretz/eslint/blob/main/BENCHMARK-METHODOLOGY.md)
46
+ · [results](https://github.com/ofri-peretz/eslint/blob/main/BENCHMARK-RESULTS.md)
47
+ · [a false positive is a bug](https://github.com/ofri-peretz/eslint/issues).
48
+
49
+ ## Getting Started
5
50
 
6
51
  ```bash
7
- npm i -D oxlint-plugin-postgresql-security
52
+ npm install oxlint-plugin-postgresql-security --save-dev
8
53
  ```
9
54
 
10
- `.oxlintrc.json`:
55
+ ### Vite+
11
56
 
12
- ```json
13
- { "jsPlugins": ["oxlint-plugin-postgresql-security"] }
57
+ ```ts
58
+ // vite.config.ts
59
+ import { defineConfig } from 'vite-plus';
60
+
61
+ export default defineConfig({
62
+ lint: {
63
+ jsPlugins: ['oxlint-plugin-postgresql-security'],
64
+ rules: {
65
+ 'postgresql-security/no-hardcoded-credentials': 'error',
66
+ 'postgresql-security/no-insecure-ssl': 'error',
67
+ 'postgresql-security/no-missing-client-release': 'error',
68
+ 'postgresql-security/no-transaction-on-pool': 'error',
69
+ 'postgresql-security/no-unsafe-copy-from': 'error',
70
+ 'postgresql-security/no-unsafe-query': 'error',
71
+ 'postgresql-security/no-unsafe-search-path': 'error',
72
+ },
73
+ },
74
+ });
14
75
  ```
15
76
 
16
- `vite.config.ts`:
77
+ ### oxlint
17
78
 
18
- ```ts
19
- export default defineConfig({ lint: { jsPlugins: ['oxlint-plugin-postgresql-security'] } });
79
+ ```json
80
+ {
81
+ "jsPlugins": ["oxlint-plugin-postgresql-security"],
82
+ "rules": {
83
+ "postgresql-security/no-hardcoded-credentials": "error",
84
+ "postgresql-security/no-insecure-ssl": "error",
85
+ "postgresql-security/no-missing-client-release": "error",
86
+ "postgresql-security/no-transaction-on-pool": "error",
87
+ "postgresql-security/no-unsafe-copy-from": "error",
88
+ "postgresql-security/no-unsafe-query": "error",
89
+ "postgresql-security/no-unsafe-search-path": "error"
90
+ }
91
+ }
20
92
  ```
21
93
 
22
- Rule list and docs: [eslint-plugin-postgresql-security](https://eslint.interlace.tools/docs/security/plugin-postgresql-security?utm_source=npm&utm_medium=referral&utm_campaign=eslint-plugin-postgresql-security).
94
+ These are the rules the plugin recommends (💼 in the table below).
95
+
96
+ ### ESLint
97
+
98
+ Install [`eslint-plugin-postgresql-security`](https://www.npmjs.com/package/eslint-plugin-postgresql-security) instead. It has the same rules, plus presets for ESLint's flat config.
99
+
100
+ ## 📦 Compatibility
101
+
102
+ | Package | Version |
103
+ | :------ | :--------------------------------------------------------------- |
104
+ | oxlint | verified on `1.90.0`: CI loads every rule ID through `jsPlugins` |
105
+ | Vite+ | `lint.jsPlugins` in `vite.config.ts` |
106
+ | Node.js | `>=18.0.0` |
107
+
108
+ ## Rules
109
+
110
+ **Legend**
111
+
112
+ | Icon | Description |
113
+ | :--: | :------------------------------------------------------------------------ |
114
+ | 💼 | **Recommended**: Included in the recommended preset. |
115
+ | ⚠️ | **Warns**: Set to warn in recommended preset. |
116
+ | 🔧 | **Auto-fixable**: Automatically fixable by the `--fix` CLI option. |
117
+ | 💡 | **Suggestions**: Providing code suggestions in IDE. |
118
+ | 🚫 | **Deprecated**: This rule is deprecated. |
119
+ | 🟢 | **Type-unaware**: AST-only, runs in oxlint JS-plugin tier. |
120
+ | 🟡 | **Type-aware (refining)**: pure-AST primary path; types refine precision. |
121
+ | 🟠 | **Type-aware (graceful)**: requires TS program; silent without it. |
122
+
123
+ | Rule | CWE | OWASP | CVSS | Description | 🧠 | 💼 | ⚠️ | 🔧 | 💡 | 🚫 |
124
+ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :-----: | :------: | :--: | :--------------------------------------------------------------------------------------- | :-: | :-: | :-: | :-: | :-: | :-: |
125
+ | [check-query-params](https://eslint.interlace.tools/docs/security/plugin-postgresql-security/rules/check-query-params?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-postgresql-security) | CWE-89 | | | Ensures the number of placeholders in SQL queries matches the provided parameters. | 🟢 | | ⚠️ | | | |
126
+ | [no-batch-insert-loop](https://eslint.interlace.tools/docs/security/plugin-postgresql-security/rules/no-batch-insert-loop?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-postgresql-security) | CWE-400 | | | Prevents INSERT/UPDATE/DELETE queries inside loops (N+1 query anti-pattern). | 🟢 | | ⚠️ | | | |
127
+ | [no-floating-query](https://eslint.interlace.tools/docs/security/plugin-postgresql-security/rules/no-floating-query?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-postgresql-security) | CWE-252 | | | Ensures query promises are awaited or handled. | 🟢 | | ⚠️ | | | |
128
+ | [no-hardcoded-credentials](https://eslint.interlace.tools/docs/security/plugin-postgresql-security/rules/no-hardcoded-credentials?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-postgresql-security) | CWE-798 | | | Prevents hardcoded passwords and connection strings in PostgreSQL client initialization. | 🟢 | 💼 | | | | |
129
+ | [no-insecure-ssl](https://eslint.interlace.tools/docs/security/plugin-postgresql-security/rules/no-insecure-ssl?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-postgresql-security) | CWE-295 | | | Prevents disabling SSL certificate validation in PostgreSQL connections. | 🟢 | 💼 | | | | |
130
+ | [no-missing-client-release](https://eslint.interlace.tools/docs/security/plugin-postgresql-security/rules/no-missing-client-release?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-postgresql-security) | CWE-772 | | | Ensures acquired pool clients are released back to the pool. | 🟢 | 💼 | | | | |
131
+ | [no-select-all](https://eslint.interlace.tools/docs/security/plugin-postgresql-security/rules/no-select-all?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-postgresql-security) | CWE-693 | | | Discourages SELECT in favor of explicit column lists. | 🟢 | | ⚠️ | | | |
132
+ | [no-transaction-on-pool](https://eslint.interlace.tools/docs/security/plugin-postgresql-security/rules/no-transaction-on-pool?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-postgresql-security) | CWE-362 | | | Prevents running transaction commands directly on pool (must use dedicated client). | 🟢 | 💼 | | | | |
133
+ | [no-unsafe-copy-from](https://eslint.interlace.tools/docs/security/plugin-postgresql-security/rules/no-unsafe-copy-from?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-postgresql-security) | CWE-73 | A03:2021 | | Prevents COPY FROM with file paths (should use STDIN for safe client-side data loading). | 🟢 | 💼 | | | | |
134
+ | [no-unsafe-query](https://eslint.interlace.tools/docs/security/plugin-postgresql-security/rules/no-unsafe-query?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-postgresql-security) | CWE-89 | | | SQL injection is one of the most critical security vulnerabilities | 🟢 | 💼 | | | | |
135
+ | [no-unsafe-search-path](https://eslint.interlace.tools/docs/security/plugin-postgresql-security/rules/no-unsafe-search-path?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-postgresql-security) | CWE-426 | | | Prevents dynamic SET searchpath queries that could enable schema hijacking. | 🟢 | 💼 | | | | |
136
+ | [prefer-pool-query](https://eslint.interlace.tools/docs/security/plugin-postgresql-security/rules/prefer-pool-query?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-postgresql-security) | CWE-693 | | | Suggests using pool.query() for single-shot queries instead of manual connect/release. | 🟢 | | ⚠️ | | | |
137
+ | [prevent-double-release](https://eslint.interlace.tools/docs/security/plugin-postgresql-security/rules/prevent-double-release?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-postgresql-security) | CWE-415 | | | Prevents calling client.release() multiple times on the same client. | 🟢 | | ⚠️ | | | |
138
+
139
+ <!-- AUTO-GENERATED:ECOSYSTEM_TABLE:START - Do not edit manually -->
140
+
141
+ ## 🔗 Related ESLint Plugins
142
+
143
+ Part of the **Interlace ESLint ecosystem** — AI-native rules with LLM-optimized error messages:
144
+
145
+ **Security**
146
+
147
+ | Plugin | Downloads | Description |
148
+ | :----------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------- |
149
+ | [`eslint-plugin-anthropic-security`](https://www.npmjs.com/package/eslint-plugin-anthropic-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-anthropic-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-anthropic-security) | Anthropic SDK security. |
150
+ | [`eslint-plugin-browser-security`](https://www.npmjs.com/package/eslint-plugin-browser-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-browser-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-browser-security) | XSS, DOM security. |
151
+ | [`eslint-plugin-drizzle-security`](https://www.npmjs.com/package/eslint-plugin-drizzle-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-drizzle-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-drizzle-security) | Drizzle security. |
152
+ | [`eslint-plugin-express-security`](https://www.npmjs.com/package/eslint-plugin-express-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-express-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-express-security) | Express middleware hardening. |
153
+ | [`eslint-plugin-gemini-security`](https://www.npmjs.com/package/eslint-plugin-gemini-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-gemini-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-gemini-security) | Google Gemini SDK security. |
154
+ | [`eslint-plugin-jwt-security`](https://www.npmjs.com/package/eslint-plugin-jwt-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-jwt-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-jwt-security) | Token security. |
155
+ | [`eslint-plugin-knex-security`](https://www.npmjs.com/package/eslint-plugin-knex-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-knex-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-knex-security) | Knex security. |
156
+ | [`eslint-plugin-lambda-security`](https://www.npmjs.com/package/eslint-plugin-lambda-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-lambda-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-lambda-security) | AWS Lambda hardening. |
157
+ | [`eslint-plugin-mcp-sdk-security`](https://www.npmjs.com/package/eslint-plugin-mcp-sdk-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-mcp-sdk-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-mcp-sdk-security) | MCP SDK security. |
158
+ | [`eslint-plugin-mongodb-security`](https://www.npmjs.com/package/eslint-plugin-mongodb-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-mongodb-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-mongodb-security) | MongoDB injection. |
159
+ | [`eslint-plugin-mysql-security`](https://www.npmjs.com/package/eslint-plugin-mysql-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-mysql-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-mysql-security) | MySQL security. |
160
+ | [`eslint-plugin-nestjs-security`](https://www.npmjs.com/package/eslint-plugin-nestjs-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-nestjs-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-nestjs-security) | NestJS framework hardening. |
161
+ | [`eslint-plugin-node-security`](https://www.npmjs.com/package/eslint-plugin-node-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-node-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-node-security) | Server-side patterns. |
162
+ | [`eslint-plugin-openai-security`](https://www.npmjs.com/package/eslint-plugin-openai-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-openai-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-openai-security) | OpenAI SDK security. |
163
+ | [`eslint-plugin-postgresql-security`](https://www.npmjs.com/package/eslint-plugin-postgresql-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-postgresql-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-postgresql-security) | PostgreSQL security. |
164
+ | [`eslint-plugin-prisma-security`](https://www.npmjs.com/package/eslint-plugin-prisma-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-prisma-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-prisma-security) | Prisma security. |
165
+ | [`eslint-plugin-secure-coding`](https://www.npmjs.com/package/eslint-plugin-secure-coding) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-secure-coding.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-secure-coding) | Injection prevention. |
166
+ | [`eslint-plugin-sequelize-security`](https://www.npmjs.com/package/eslint-plugin-sequelize-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-sequelize-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-sequelize-security) | Sequelize ORM security. |
167
+ | [`eslint-plugin-sqlite-security`](https://www.npmjs.com/package/eslint-plugin-sqlite-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-sqlite-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-sqlite-security) | SQLite security. |
168
+ | [`eslint-plugin-supabase-security`](https://www.npmjs.com/package/eslint-plugin-supabase-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-supabase-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-supabase-security) | Supabase security. |
169
+ | [`eslint-plugin-typeorm-security`](https://www.npmjs.com/package/eslint-plugin-typeorm-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-typeorm-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-typeorm-security) | TypeORM security. |
170
+ | [`eslint-plugin-vercel-ai-security`](https://www.npmjs.com/package/eslint-plugin-vercel-ai-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-vercel-ai-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-vercel-ai-security) | AI SDK security. |
171
+
172
+ **Code quality**
173
+
174
+ | Plugin | Downloads | Description |
175
+ | :--------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------- |
176
+ | [`eslint-plugin-conventions`](https://www.npmjs.com/package/eslint-plugin-conventions) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-conventions.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-conventions) | Team-specific habits and styles. |
177
+ | [`eslint-plugin-import-next`](https://www.npmjs.com/package/eslint-plugin-import-next) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-import-next.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-import-next) | Fast cycle + import-graph analysis. |
178
+ | [`eslint-plugin-maintainability`](https://www.npmjs.com/package/eslint-plugin-maintainability) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-maintainability.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-maintainability) | Cognitive load and clean-code patterns. |
179
+ | [`eslint-plugin-modernization`](https://www.npmjs.com/package/eslint-plugin-modernization) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-modernization.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-modernization) | ESNext migration + syntax evolution. |
180
+ | [`eslint-plugin-modularity`](https://www.npmjs.com/package/eslint-plugin-modularity) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-modularity.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-modularity) | Structural integrity and DDD patterns. |
181
+ | [`eslint-plugin-operability`](https://www.npmjs.com/package/eslint-plugin-operability) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-operability.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-operability) | Production readiness and resource health. |
182
+ | [`eslint-plugin-react-a11y`](https://www.npmjs.com/package/eslint-plugin-react-a11y) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-react-a11y.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-react-a11y) | React accessibility / WCAG. |
183
+ | [`eslint-plugin-react-features`](https://www.npmjs.com/package/eslint-plugin-react-features) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-react-features.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-react-features) | React best practices and optimization. |
184
+ | [`eslint-plugin-reliability`](https://www.npmjs.com/package/eslint-plugin-reliability) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-reliability.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-reliability) | Runtime stability and error safety. |
185
+
186
+ <!-- AUTO-GENERATED:ECOSYSTEM_TABLE:END -->
187
+
188
+ ## ⭐ Support & follow
189
+
190
+ If this plugin caught a real bug for you, **[star the repo](https://github.com/ofri-peretz/eslint)** — stars are the signal that keeps the Interlace ESLint ecosystem maintained — and **[follow the writeups on Dev.to](https://dev.to/ofri-peretz)** for the benchmarks and security research behind these rules.
191
+
192
+ [![GitHub stars](https://img.shields.io/github/stars/ofri-peretz/eslint?style=social)](https://github.com/ofri-peretz/eslint)
193
+
194
+ ## 📄 License
195
+
196
+ MIT © [Ofri Peretz](https://github.com/ofri-peretz)
197
+
198
+ <p align="center">
199
+ <a href="https://eslint.interlace.tools/docs/security/plugin-postgresql-security?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-postgresql-security"><img src="https://eslint.interlace.tools/images/og-postgresql-security.png" alt="ESLint Interlace Plugin" width="100%" /></a>
200
+ </p>
201
+
202
+ <p align="center">
203
+ <a href="https://eslint.interlace.tools/docs/security/plugin-postgresql-security?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-postgresql-security" target="blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://eslint.interlace.tools/logos/interlace-dark.svg"><img src="https://eslint.interlace.tools/logos/interlace-light.svg" alt="Interlace" height="70" /></picture></a>
204
+ </p>
package/index.d.ts CHANGED
@@ -1,2 +1,5 @@
1
+ // Generated by scripts/generate-oxlint-aliases.mts. Do not edit by hand.
2
+ // The rules live in eslint-plugin-postgresql-security; this package only gives them an oxlint name.
1
3
  import plugin = require('eslint-plugin-postgresql-security/oxlint');
4
+
2
5
  export = plugin;
package/index.js CHANGED
@@ -1 +1 @@
1
- module.exports = require('eslint-plugin-postgresql-security/oxlint');
1
+ module.exports=require("eslint-plugin-postgresql-security/oxlint");
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "oxlint-plugin-postgresql-security",
3
- "version": "2.6.4",
4
- "description": "eslint-plugin-postgresql-security for Oxlint and Vite+: the same postgresql-security/* rules.",
5
- "main": "index.js",
6
- "types": "index.d.ts",
3
+ "version": "2.7.1",
4
+ "description": "The postgresql-security rules for oxlint and Vite+. Same rules and rule IDs as eslint-plugin-postgresql-security.",
5
+ "type": "commonjs",
6
+ "main": "./index.js",
7
+ "types": "./index.d.ts",
7
8
  "files": [
8
9
  "index.js",
9
10
  "index.d.ts",
@@ -14,7 +15,7 @@
14
15
  "oxlint",
15
16
  "oxlint-plugin",
16
17
  "vite-plus",
17
- "eslintplugin",
18
+ "eslint",
18
19
  "static-analysis",
19
20
  "linting",
20
21
  "code-quality",
@@ -40,18 +41,28 @@
40
41
  "ai-assistant",
41
42
  "typescript"
42
43
  ],
43
- "dependencies": {
44
- "eslint-plugin-postgresql-security": "2.6.4"
45
- },
46
- "license": "MIT",
44
+ "homepage": "https://eslint.interlace.tools/docs/security/plugin-postgresql-security?utm_source=npm&utm_medium=referral&utm_campaign=oxlint-plugin-postgresql-security",
47
45
  "repository": {
48
46
  "type": "git",
49
47
  "url": "git+https://github.com/ofri-peretz/eslint.git",
50
48
  "directory": "packages/oxlint-plugin-postgresql-security"
51
49
  },
52
- "homepage": "https://eslint.interlace.tools/docs/security/plugin-postgresql-security?utm_source=npm&utm_medium=referral&utm_campaign=eslint-plugin-postgresql-security",
53
50
  "bugs": {
54
51
  "url": "https://github.com/ofri-peretz/eslint/issues"
55
52
  },
56
- "author": "Ofri Peretz <ofriperetzdev@gmail.com>"
53
+ "author": "Ofri Peretz <ofriperetzdev@gmail.com>",
54
+ "license": "MIT",
55
+ "engines": {
56
+ "node": ">=18.0.0"
57
+ },
58
+ "funding": {
59
+ "type": "github",
60
+ "url": "https://github.com/ofri-peretz/eslint"
61
+ },
62
+ "publishConfig": {
63
+ "access": "public"
64
+ },
65
+ "dependencies": {
66
+ "eslint-plugin-postgresql-security": "2.7.1"
67
+ }
57
68
  }