@typescript-eslint/rule-tester 6.2.2-alpha.5 → 6.2.2-alpha.7

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.
@@ -5,10 +5,8 @@ export interface SemverVersionConstraint {
5
5
  }
6
6
  export type AtLeastVersionConstraint = `${number}.${number}.${number}-${string}` | `${number}.${number}.${number}` | `${number}.${number}` | `${number}`;
7
7
  export type VersionConstraint = AtLeastVersionConstraint | SemverVersionConstraint;
8
- export interface DependencyConstraint {
9
- /**
10
- * Passing a string for the value is shorthand for a '>=' constraint
11
- */
12
- readonly [packageName: string]: VersionConstraint;
13
- }
8
+ /**
9
+ * Passing a string for the value is shorthand for a '>=' constraint
10
+ */
11
+ export type DependencyConstraint = Readonly<Record<string, VersionConstraint>>;
14
12
  //# sourceMappingURL=DependencyConstraint.d.ts.map
@@ -5,10 +5,8 @@ export interface SemverVersionConstraint {
5
5
  }
6
6
  export type AtLeastVersionConstraint = `${number}.${number}.${number}-${string}` | `${number}.${number}.${number}` | `${number}.${number}` | `${number}`;
7
7
  export type VersionConstraint = AtLeastVersionConstraint | SemverVersionConstraint;
8
- export interface DependencyConstraint {
9
- /**
10
- * Passing a string for the value is shorthand for a '>=' constraint
11
- */
12
- readonly [packageName: string]: VersionConstraint;
13
- }
8
+ /**
9
+ * Passing a string for the value is shorthand for a '>=' constraint
10
+ */
11
+ export type DependencyConstraint = Readonly<Record<string, VersionConstraint>>;
14
12
  //# sourceMappingURL=DependencyConstraint.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DependencyConstraint.d.ts","sourceRoot":"","sources":["../../src/types/DependencyConstraint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE3C,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC;CAC3C;AACD,MAAM,MAAM,wBAAwB,GAChC,GAAG,MAAM,IAAI,MAAM,IAAI,MAAM,IAAI,MAAM,EAAE,GACzC,GAAG,MAAM,IAAI,MAAM,IAAI,MAAM,EAAE,GAC/B,GAAG,MAAM,IAAI,MAAM,EAAE,GACrB,GAAG,MAAM,EAAE,CAAC;AAChB,MAAM,MAAM,iBAAiB,GACzB,wBAAwB,GACxB,uBAAuB,CAAC;AAC5B,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,QAAQ,EAAE,WAAW,EAAE,MAAM,GAAG,iBAAiB,CAAC;CACnD"}
1
+ {"version":3,"file":"DependencyConstraint.d.ts","sourceRoot":"","sources":["../../src/types/DependencyConstraint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE3C,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC;CAC3C;AACD,MAAM,MAAM,wBAAwB,GAChC,GAAG,MAAM,IAAI,MAAM,IAAI,MAAM,IAAI,MAAM,EAAE,GACzC,GAAG,MAAM,IAAI,MAAM,IAAI,MAAM,EAAE,GAC/B,GAAG,MAAM,IAAI,MAAM,EAAE,GACrB,GAAG,MAAM,EAAE,CAAC;AAChB,MAAM,MAAM,iBAAiB,GACzB,wBAAwB,GACxB,uBAAuB,CAAC;AAC5B;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/rule-tester",
3
- "version": "6.2.2-alpha.5+9e1d2d259",
3
+ "version": "6.2.2-alpha.7+4087f48b9",
4
4
  "description": "Tooling to test ESLint rules",
5
5
  "files": [
6
6
  "dist",
@@ -47,8 +47,8 @@
47
47
  },
48
48
  "//": "NOTE - AJV is out-of-date, but it's intentionally synced with ESLint - https://github.com/eslint/eslint/blob/ad9dd6a933fd098a0d99c6a9aa059850535c23ee/package.json#L70",
49
49
  "dependencies": {
50
- "@typescript-eslint/typescript-estree": "6.2.2-alpha.5+9e1d2d259",
51
- "@typescript-eslint/utils": "6.2.2-alpha.5+9e1d2d259",
50
+ "@typescript-eslint/typescript-estree": "6.2.2-alpha.7+4087f48b9",
51
+ "@typescript-eslint/utils": "6.2.2-alpha.7+4087f48b9",
52
52
  "ajv": "^6.10.0",
53
53
  "lodash.merge": "4.6.2",
54
54
  "semver": "^7.5.4"
@@ -59,7 +59,7 @@
59
59
  },
60
60
  "devDependencies": {
61
61
  "@types/lodash.merge": "4.6.7",
62
- "@typescript-eslint/parser": "6.2.2-alpha.5+9e1d2d259",
62
+ "@typescript-eslint/parser": "6.2.2-alpha.7+4087f48b9",
63
63
  "chai": "^4.3.7",
64
64
  "mocha": "^8.3.2",
65
65
  "sinon": "^11.0.0",
@@ -79,5 +79,5 @@
79
79
  ]
80
80
  }
81
81
  },
82
- "gitHead": "9e1d2d259410ac20f5afd55c8f64d62b88508064"
82
+ "gitHead": "4087f48b98e08778cf975b3be8964dd4616a0641"
83
83
  }