eslint-plugin-greasemonkey 1.8.0 → 1.8.2

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.
package/README.md CHANGED
@@ -6,6 +6,8 @@
6
6
  <img alt="[Latest Build]" src="https://img.shields.io/npm/v/eslint-plugin-greasemonkey?logo=icinga&style=for-the-badge&label=Latest%20Build&color=32fcee"></a>
7
7
  <a href="#license">
8
8
  <img alt="[License: MIT]" src="https://img.shields.io/badge/License-MIT-f1f20a.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
9
+ <a>
10
+ <img src="https://img.shields.io/npm/dm/eslint-plugin-greasemonkey?style=for-the-badge&logo=npm&color=black"></a>
9
11
  <a target="_blank" href="https://eslint.org/">
10
12
  <img alt="[Requires ESLint >=9.0.0]" src="https://img.shields.io/badge/Requires-ESLint_%3E%3D9.0.0-4B32C3?style=for-the-badge&logo=eslint"></a>
11
13
  <br><br>
@@ -1139,7 +1141,7 @@ If you prefer shorter URLs, or don't support users who strictly enforce subresou
1139
1141
 
1140
1142
  #### When not to use it
1141
1143
 
1142
- If you don't target Tampermonkey or ScriptCat (where `@updateURL` avoids re-downloading the full script on every update check).
1144
+ If you don't target Tampermonkey, ScriptCat or AdGuard (where `@updateURL` avoids re-downloading the full script on every update check).
1143
1145
 
1144
1146
  #### Introduced in
1145
1147
 
@@ -1273,7 +1275,7 @@ If you use a custom versioning scheme or URLs that aren't standard.
1273
1275
 
1274
1276
  ---
1275
1277
 
1276
- ## <img height=30 align="top" src="https://api.iconify.design/boxicons/code-alt-filled.svg?color=%232b2b2a"> Shield embed
1278
+ ## <img width=30 align="top" src="https://api.iconify.design/boxicons/code-alt-filled.svg?color=%232b2b2a"> Shield embed
1277
1279
 
1278
1280
  <a target="_blank" href="https://codeberg.org/adamlui/eslint-plugin-greasemonkey/#readme">
1279
1281
  <img height=32 alt="[Linted by eslint-plugin-greasemonkey]" src="https://img.shields.io/badge/Linted_by-eslint--plugin--greasemonkey-black?logo=eslint&logoColor=white&labelColor=464646&style=for-the-badge"></a>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-greasemonkey",
3
- "version": "1.8.0",
3
+ "version": "1.8.2",
4
4
  "description": "ESLint rules for Greasemonkey/Tampermonkey userscripts",
5
5
  "type": "module",
6
6
  "engines": {
@@ -69,16 +69,16 @@
69
69
  "@eslint/markdown": "^8.0.3",
70
70
  "@stylistic/eslint-plugin": "^5.10.0",
71
71
  "eslint": "^10.11.0",
72
- "eslint-plugin-constructors": "^1.3.0",
72
+ "eslint-plugin-constructors": "^1.4.0",
73
73
  "eslint-plugin-eslint-plugin": "^7.6.2",
74
74
  "eslint-plugin-import-x": "^4.17.1",
75
- "eslint-plugin-n": "^18.3.0",
75
+ "eslint-plugin-n": "^18.4.0",
76
76
  "eslint-plugin-no-secrets": "^2.3.3",
77
77
  "eslint-plugin-no-unsanitized": "^4.1.5",
78
78
  "eslint-plugin-promise": "^7.3.0",
79
79
  "eslint-plugin-regexp": "^3.3.1",
80
- "eslint-plugin-security": "^4.0.1",
81
- "globals": "^17.12.0",
80
+ "eslint-plugin-security": "^4.2.0",
81
+ "globals": "^17.13.0",
82
82
  "husky": "^9.1.7",
83
83
  "yamllint-js": "^0.2.4"
84
84
  }
package/src/index.js CHANGED
@@ -83,7 +83,7 @@ plugin.configs = {
83
83
  plugins: { greasemonkey: plugin },
84
84
  rules: Object.fromEntries(Object.entries(plugin.rules)
85
85
  .filter(([, rule]) => rule.meta.type == 'problem')
86
- .map(([id]) => [`greasemonkey/${id}`, 'error']))
86
+ .map(([ruleId]) => [`greasemonkey/${ruleId}`, 'error']))
87
87
  }
88
88
  }
89
89