eslint-plugin-secure-coding 3.1.1 → 3.1.3

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 (2) hide show
  1. package/CHANGELOG.md +6 -48
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,7 +1,3 @@
1
- ## 3.0.3 (2026-02-09)
2
-
3
- This was a version bump only for eslint-plugin-secure-coding to align it with other projects, there were no code changes.
4
-
5
1
  # Changelog
6
2
 
7
3
  All notable changes to this project will be documented in this file.
@@ -9,55 +5,17 @@ All notable changes to this project will be documented in this file.
9
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
10
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
11
7
 
12
- ## [4.0.0] - 2025-12-31
13
-
14
- ### ⚠️ BREAKING CHANGES
15
-
16
- Removed 12 rules that now have dedicated, specialized plugins with enhanced functionality.
17
-
18
- #### Removed Rules (use dedicated plugins instead)
19
-
20
- | Removed Rule | Replacement Plugin | Replacement Rule(s) |
21
- | ---------------------------------------- | -------------------------------- | --------------------------------------------------- |
22
- | `no-sql-injection` | `eslint-plugin-pg` | `pg/no-unsafe-query` |
23
- | `database-injection` | `eslint-plugin-pg` | `pg/no-unsafe-query` |
24
- | `no-insecure-jwt` | `eslint-plugin-jwt` | 13 dedicated JWT rules |
25
- | `no-weak-crypto` | `eslint-plugin-crypto` | `crypto/no-weak-hash-algorithm` |
26
- | `no-timing-attack` | `eslint-plugin-crypto` | `crypto/no-timing-unsafe-compare` |
27
- | `no-insufficient-random` | `eslint-plugin-crypto` | `crypto/no-math-random-crypto` |
28
- | `no-document-cookie` | `eslint-plugin-browser-security` | `browser-security/no-sensitive-cookie-js` |
29
- | `no-unsanitized-html` | `eslint-plugin-browser-security` | `browser-security/no-innerhtml` |
30
- | `no-postmessage-origin-wildcard` | `eslint-plugin-browser-security` | `browser-security/no-postmessage-wildcard-origin` |
31
- | `no-insecure-cookie-settings` | `eslint-plugin-browser-security` | `browser-security/require-cookie-secure-attrs` |
32
- | `no-insufficient-postmessage-validation` | `eslint-plugin-browser-security` | `browser-security/require-postmessage-origin-check` |
33
- | `no-unencrypted-local-storage` | `eslint-plugin-browser-security` | `browser-security/no-sensitive-localstorage` |
34
- | `no-credentials-in-storage-api` | `eslint-plugin-browser-security` | `browser-security/no-sensitive-localstorage` |
8
+ ## [3.1.1] - 2026-02-09
35
9
 
36
- ### Migration Guide
37
-
38
- Install the specialized plugins for the functionality you need:
39
-
40
- ```bash
41
- # For PostgreSQL/SQL security
42
- npm install --save-dev eslint-plugin-pg
43
-
44
- # For JWT security
45
- npm install --save-dev eslint-plugin-jwt
46
-
47
- # For cryptography security
48
- npm install --save-dev eslint-plugin-crypto
10
+ This was a version bump only for eslint-plugin-secure-coding to align it with other projects, there were no code changes.
49
11
 
50
- # For browser/client-side security
51
- npm install --save-dev eslint-plugin-browser-security
52
- ```
12
+ ## [3.1.0] - 2026-02-09
53
13
 
54
- ### Why This Change?
14
+ This was a version bump only for eslint-plugin-secure-coding to align it with other projects, there were no code changes.
55
15
 
56
- Specialized plugins provide:
16
+ ## [3.0.3] - 2026-02-09
57
17
 
58
- - **More rules**: 13 JWT rules vs 1, 24 crypto rules vs 3
59
- - **Better detection**: Domain-specific AST patterns
60
- - **Focused maintenance**: Faster updates for each security domain
18
+ This was a version bump only for eslint-plugin-secure-coding to align it with other projects, there were no code changes.
61
19
 
62
20
  ## [3.0.2] - 2025-12-20
63
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-secure-coding",
3
- "version": "3.1.1",
3
+ "version": "3.1.3",
4
4
  "description": "Security-focused ESLint plugin with 89 AI-parseable rules for detecting and preventing vulnerabilities. OWASP Top 10 2021 + Mobile Top 10 2024 coverage, CWE references, and AI-assisted fix guidance.",
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",