@typescript-eslint/rule-schema-to-typescript-types 8.67.1-alpha.2 → 8.67.1-alpha.21

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/dist/errors.js CHANGED
@@ -8,3 +8,4 @@ export class UnexpectedError extends Error {
8
8
  super(`Unexpected Error: ${error}:\n${JSON.stringify(target, null, 2)}`);
9
9
  }
10
10
  }
11
+ //# sourceMappingURL=errors.js.map
@@ -105,3 +105,4 @@ function createTupleType(elements, spreadType = null) {
105
105
  spreadType,
106
106
  };
107
107
  }
108
+ //# sourceMappingURL=generateArrayType.js.map
@@ -41,3 +41,4 @@ export function generateObjectType(schema, refMap) {
41
41
  type: 'object',
42
42
  };
43
43
  }
44
+ //# sourceMappingURL=generateObjectType.js.map
@@ -97,3 +97,4 @@ export function generateType(schema, refMap) {
97
97
  return generateObjectType(schema, refMap);
98
98
  }
99
99
  }
100
+ //# sourceMappingURL=generateType.js.map
@@ -35,3 +35,4 @@ export function generateUnionType(members, refMap) {
35
35
  type: 'union',
36
36
  };
37
37
  }
38
+ //# sourceMappingURL=generateUnionType.js.map
@@ -5,3 +5,4 @@ export function getCommentLines(schema) {
5
5
  }
6
6
  return lines;
7
7
  }
8
+ //# sourceMappingURL=getCommentLines.js.map
package/dist/index.js CHANGED
@@ -57,3 +57,4 @@ function compileSchema(schema, index) {
57
57
  function toPascalCase(key) {
58
58
  return key[0].toUpperCase() + key.substring(1);
59
59
  }
60
+ //# sourceMappingURL=index.js.map
@@ -58,3 +58,4 @@ function unwrapUnions(union) {
58
58
  }
59
59
  return elements;
60
60
  }
61
+ //# sourceMappingURL=optimizeAST.js.map
package/dist/printAST.js CHANGED
@@ -129,3 +129,4 @@ function printAndMaybeParenthesize(ast) {
129
129
  commentLines: printed.commentLines,
130
130
  };
131
131
  }
132
+ //# sourceMappingURL=printAST.js.map
package/dist/types.js CHANGED
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=types.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/rule-schema-to-typescript-types",
3
- "version": "8.67.1-alpha.2",
3
+ "version": "8.67.1-alpha.21",
4
4
  "description": "Converts ESLint rule schemas to equivalent TypeScript type strings.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -12,6 +12,7 @@
12
12
  },
13
13
  "files": [
14
14
  "dist",
15
+ "!**/*.js.map",
15
16
  "!**/*.tsbuildinfo"
16
17
  ],
17
18
  "engines": {
@@ -28,9 +29,9 @@
28
29
  "homepage": "https://typescript-eslint.io",
29
30
  "license": "MIT",
30
31
  "dependencies": {
31
- "natural-compare": "^1.4.0",
32
- "@typescript-eslint/type-utils": "8.67.1-alpha.2",
33
- "@typescript-eslint/utils": "8.67.1-alpha.2"
32
+ "@typescript-eslint/type-utils": "8.67.1-alpha.21",
33
+ "@typescript-eslint/utils": "8.67.1-alpha.21",
34
+ "natural-compare": "^1.4.0"
34
35
  },
35
36
  "devDependencies": {
36
37
  "@typescript/native": "npm:typescript@^7.0.2",