@typescript-eslint/rule-tester 8.50.2-alpha.5 → 8.50.2-alpha.6

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.
@@ -325,6 +325,7 @@ class RuleTester extends TestFramework_1.TestFramework {
325
325
  defineRule(name, rule) {
326
326
  this.#rules[name] = {
327
327
  ...rule,
328
+ name,
328
329
  // Create a wrapper rule that freezes the `context` properties.
329
330
  create(context) {
330
331
  (0, freezeDeeply_1.freezeDeeply)(context.options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/rule-tester",
3
- "version": "8.50.2-alpha.5",
3
+ "version": "8.50.2-alpha.6",
4
4
  "description": "Tooling to test ESLint rules",
5
5
  "files": [
6
6
  "dist",
@@ -44,9 +44,9 @@
44
44
  },
45
45
  "//": "NOTE - AJV is out-of-date, but it's intentionally synced with ESLint - https://github.com/eslint/eslint/blob/ad9dd6a933fd098a0d99c6a9aa059850535c23ee/package.json#L70",
46
46
  "dependencies": {
47
- "@typescript-eslint/parser": "8.50.2-alpha.5",
48
- "@typescript-eslint/typescript-estree": "8.50.2-alpha.5",
49
- "@typescript-eslint/utils": "8.50.2-alpha.5",
47
+ "@typescript-eslint/parser": "8.50.2-alpha.6",
48
+ "@typescript-eslint/typescript-estree": "8.50.2-alpha.6",
49
+ "@typescript-eslint/utils": "8.50.2-alpha.6",
50
50
  "ajv": "^6.12.6",
51
51
  "json-stable-stringify-without-jsonify": "^1.0.1",
52
52
  "lodash.merge": "4.6.2",