@typescript-eslint/type-utils 8.66.1-alpha.0 → 8.66.1-alpha.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.
@@ -49,82 +49,82 @@ export type TypeOrValueSpecifier = string | FileSpecifier | LibSpecifier | Packa
49
49
  export declare const typeOrValueSpecifiersSchema: {
50
50
  readonly items: {
51
51
  readonly oneOf: [{
52
- readonly type: "string";
52
+ readonly type: 'string';
53
53
  }, {
54
54
  readonly additionalProperties: false;
55
55
  readonly properties: {
56
56
  readonly from: {
57
57
  readonly enum: ["file"];
58
- readonly type: "string";
58
+ readonly type: 'string';
59
59
  };
60
60
  readonly name: {
61
61
  readonly oneOf: [{
62
- readonly type: "string";
62
+ readonly type: 'string';
63
63
  }, {
64
64
  readonly items: {
65
- readonly type: "string";
65
+ readonly type: 'string';
66
66
  };
67
67
  readonly minItems: 1;
68
- readonly type: "array";
68
+ readonly type: 'array';
69
69
  readonly uniqueItems: true;
70
70
  }];
71
71
  };
72
72
  readonly path: {
73
- readonly type: "string";
73
+ readonly type: 'string';
74
74
  };
75
75
  };
76
76
  readonly required: ["from", "name"];
77
- readonly type: "object";
77
+ readonly type: 'object';
78
78
  }, {
79
79
  readonly additionalProperties: false;
80
80
  readonly properties: {
81
81
  readonly from: {
82
82
  readonly enum: ["lib"];
83
- readonly type: "string";
83
+ readonly type: 'string';
84
84
  };
85
85
  readonly name: {
86
86
  readonly oneOf: [{
87
- readonly type: "string";
87
+ readonly type: 'string';
88
88
  }, {
89
89
  readonly items: {
90
- readonly type: "string";
90
+ readonly type: 'string';
91
91
  };
92
92
  readonly minItems: 1;
93
- readonly type: "array";
93
+ readonly type: 'array';
94
94
  readonly uniqueItems: true;
95
95
  }];
96
96
  };
97
97
  };
98
98
  readonly required: ["from", "name"];
99
- readonly type: "object";
99
+ readonly type: 'object';
100
100
  }, {
101
101
  readonly additionalProperties: false;
102
102
  readonly properties: {
103
103
  readonly from: {
104
104
  readonly enum: ["package"];
105
- readonly type: "string";
105
+ readonly type: 'string';
106
106
  };
107
107
  readonly name: {
108
108
  readonly oneOf: [{
109
- readonly type: "string";
109
+ readonly type: 'string';
110
110
  }, {
111
111
  readonly items: {
112
- readonly type: "string";
112
+ readonly type: 'string';
113
113
  };
114
114
  readonly minItems: 1;
115
- readonly type: "array";
115
+ readonly type: 'array';
116
116
  readonly uniqueItems: true;
117
117
  }];
118
118
  };
119
119
  readonly package: {
120
- readonly type: "string";
120
+ readonly type: 'string';
121
121
  };
122
122
  };
123
123
  readonly required: ["from", "name", "package"];
124
- readonly type: "object";
124
+ readonly type: 'object';
125
125
  }];
126
126
  };
127
- readonly type: "array";
127
+ readonly type: 'array';
128
128
  };
129
129
  export declare function typeMatchesSpecifier(type: ts.Type, specifier: TypeOrValueSpecifier, program: ts.Program): boolean;
130
130
  export declare const typeMatchesSomeSpecifier: (type: ts.Type, specifiers: TypeOrValueSpecifier[] | undefined, program: ts.Program) => boolean;
@@ -10,82 +10,82 @@ export declare const readonlynessOptionsSchema: {
10
10
  allow: {
11
11
  readonly items: {
12
12
  readonly oneOf: [{
13
- readonly type: "string";
13
+ readonly type: 'string';
14
14
  }, {
15
15
  readonly additionalProperties: false;
16
16
  readonly properties: {
17
17
  readonly from: {
18
18
  readonly enum: ["file"];
19
- readonly type: "string";
19
+ readonly type: 'string';
20
20
  };
21
21
  readonly name: {
22
22
  readonly oneOf: [{
23
- readonly type: "string";
23
+ readonly type: 'string';
24
24
  }, {
25
25
  readonly items: {
26
- readonly type: "string";
26
+ readonly type: 'string';
27
27
  };
28
28
  readonly minItems: 1;
29
- readonly type: "array";
29
+ readonly type: 'array';
30
30
  readonly uniqueItems: true;
31
31
  }];
32
32
  };
33
33
  readonly path: {
34
- readonly type: "string";
34
+ readonly type: 'string';
35
35
  };
36
36
  };
37
37
  readonly required: ["from", "name"];
38
- readonly type: "object";
38
+ readonly type: 'object';
39
39
  }, {
40
40
  readonly additionalProperties: false;
41
41
  readonly properties: {
42
42
  readonly from: {
43
43
  readonly enum: ["lib"];
44
- readonly type: "string";
44
+ readonly type: 'string';
45
45
  };
46
46
  readonly name: {
47
47
  readonly oneOf: [{
48
- readonly type: "string";
48
+ readonly type: 'string';
49
49
  }, {
50
50
  readonly items: {
51
- readonly type: "string";
51
+ readonly type: 'string';
52
52
  };
53
53
  readonly minItems: 1;
54
- readonly type: "array";
54
+ readonly type: 'array';
55
55
  readonly uniqueItems: true;
56
56
  }];
57
57
  };
58
58
  };
59
59
  readonly required: ["from", "name"];
60
- readonly type: "object";
60
+ readonly type: 'object';
61
61
  }, {
62
62
  readonly additionalProperties: false;
63
63
  readonly properties: {
64
64
  readonly from: {
65
65
  readonly enum: ["package"];
66
- readonly type: "string";
66
+ readonly type: 'string';
67
67
  };
68
68
  readonly name: {
69
69
  readonly oneOf: [{
70
- readonly type: "string";
70
+ readonly type: 'string';
71
71
  }, {
72
72
  readonly items: {
73
- readonly type: "string";
73
+ readonly type: 'string';
74
74
  };
75
75
  readonly minItems: 1;
76
- readonly type: "array";
76
+ readonly type: 'array';
77
77
  readonly uniqueItems: true;
78
78
  }];
79
79
  };
80
80
  readonly package: {
81
- readonly type: "string";
81
+ readonly type: 'string';
82
82
  };
83
83
  };
84
84
  readonly required: ["from", "name", "package"];
85
- readonly type: "object";
85
+ readonly type: 'object';
86
86
  }];
87
87
  };
88
- readonly type: "array";
88
+ readonly type: 'array';
89
89
  };
90
90
  treatMethodsAsReadonly: {
91
91
  type: "boolean";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/type-utils",
3
- "version": "8.66.1-alpha.0",
3
+ "version": "8.66.1-alpha.2",
4
4
  "description": "Type utilities for working with TypeScript + ESLint together",
5
5
  "files": [
6
6
  "dist",
@@ -35,9 +35,9 @@
35
35
  "dependencies": {
36
36
  "debug": "^4.4.3",
37
37
  "ts-api-utils": "^2.5.0",
38
- "@typescript-eslint/typescript-estree": "8.66.1-alpha.0",
39
- "@typescript-eslint/utils": "8.66.1-alpha.0",
40
- "@typescript-eslint/types": "8.66.1-alpha.0"
38
+ "@typescript-eslint/types": "8.66.1-alpha.2",
39
+ "@typescript-eslint/typescript-estree": "8.66.1-alpha.2",
40
+ "@typescript-eslint/utils": "8.66.1-alpha.2"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
@@ -45,14 +45,14 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/babel__code-frame": "^7.0.6",
48
- "@typescript/native-preview": "7.0.0-dev.20260518.1",
48
+ "@typescript/native": "npm:typescript@^7.0.2",
49
49
  "@vitest/coverage-v8": "^4.0.18",
50
50
  "ajv": "^6.12.6",
51
51
  "eslint": "^10.0.0",
52
52
  "rimraf": "^5.0.10",
53
53
  "typescript": ">=4.8.4 <6.1.0",
54
54
  "vitest": "^4.0.18",
55
- "@typescript-eslint/parser": "8.66.1-alpha.0"
55
+ "@typescript-eslint/parser": "8.66.1-alpha.2"
56
56
  },
57
57
  "funding": {
58
58
  "type": "opencollective",