eslint-plugin-security 3.0.0 → 3.0.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.
@@ -12,8 +12,8 @@ jobs:
12
12
  with:
13
13
  persist-credentials: false
14
14
  - uses: actions/setup-node@v3
15
- - uses: beemojs/conventional-pr-action@v2
15
+ - uses: beemojs/conventional-pr-action@v3
16
16
  env:
17
17
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18
18
  with:
19
- config-preset: angular
19
+ config-preset: conventional-changelog-conventionalcommits
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ### [3.0.1](https://www.github.com/eslint-community/eslint-plugin-security/compare/v3.0.0...v3.0.1) (2024-06-13)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * add name to recommended flat config ([#161](https://www.github.com/eslint-community/eslint-plugin-security/issues/161)) ([aa1c8c5](https://www.github.com/eslint-community/eslint-plugin-security/commit/aa1c8c57a2df4ce64a202808c5642a41b47d4519))
9
+
3
10
  ## [3.0.0](https://www.github.com/eslint-community/eslint-plugin-security/compare/v2.1.1...v3.0.0) (2024-04-10)
4
11
 
5
12
 
package/README.md CHANGED
@@ -82,3 +82,15 @@ npm test
82
82
  | [detect-unsafe-regex](docs/rules/detect-unsafe-regex.md) | Detects potentially unsafe regular expressions, which may take a very long time to run, blocking the event loop. | ✅ |
83
83
 
84
84
  <!-- end auto-generated rules list -->
85
+
86
+ ## TypeScript support
87
+
88
+ Type definitions for this package are managed by [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped). Use [@types/eslint-plugin-security](https://www.npmjs.com/package/@types/eslint-plugin-security) for type checking.
89
+
90
+ ```sh
91
+ npm install --save-dev @types/eslint-plugin-security
92
+
93
+ # OR
94
+
95
+ yarn add --dev @types/eslint-plugin-security
96
+ ```
package/index.js CHANGED
@@ -47,6 +47,7 @@ const plugin = {
47
47
  };
48
48
 
49
49
  const recommended = {
50
+ name: 'security/recommended',
50
51
  plugins: { security: plugin },
51
52
  rules: {
52
53
  'security/detect-buffer-noassert': 'warn',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-security",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Security rules for eslint",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@eslint/js": "^9.0.0",
50
- "changelog": "1.3.0",
50
+ "changelog": "1.4.2",
51
51
  "eslint": "^9.0.0",
52
52
  "eslint-config-nodesecurity": "^1.3.1",
53
53
  "eslint-config-prettier": "^8.5.0",
@@ -63,5 +63,6 @@
63
63
  },
64
64
  "engines": {
65
65
  "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
66
- }
66
+ },
67
+ "funding": "https://opencollective.com/eslint"
67
68
  }