python2ts 1.1.0 → 1.2.0

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/cli/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  transpileAsync
4
- } from "../chunk-65ZOMVMA.js";
4
+ } from "../chunk-MEHQCUVO.js";
5
5
 
6
6
  // src/cli/index.ts
7
7
  import { parseArgs } from "util";
package/dist/index.d.ts CHANGED
@@ -112,7 +112,7 @@ declare function generate(input: string | ParseResult, options?: GeneratorOption
112
112
  */
113
113
  declare function transpile(python: string, options?: GeneratorOptions): string;
114
114
  /**
115
- * Format TypeScript code using Prettier
115
+ * Format TypeScript code using ESLint fixes + Prettier
116
116
  */
117
117
  declare function formatCode(code: string): Promise<string>;
118
118
  /**
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  transpile,
13
13
  transpileAsync,
14
14
  walkTree
15
- } from "./chunk-65ZOMVMA.js";
15
+ } from "./chunk-MEHQCUVO.js";
16
16
  export {
17
17
  debugTree,
18
18
  formatCode,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "python2ts",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "AST-based Python to TypeScript transpiler. Convert Python code to clean, idiomatic TypeScript with full type preservation.",
5
5
  "homepage": "https://sebastian-software.github.io/python2ts/",
6
6
  "repository": {
@@ -47,10 +47,13 @@
47
47
  "author": "Sebastian Software GmbH",
48
48
  "license": "MIT",
49
49
  "dependencies": {
50
+ "@eslint/js": "^9.39.2",
50
51
  "@lezer/common": "^1.5.0",
51
52
  "@lezer/python": "^1.1.18",
53
+ "eslint": "^9.39.2",
52
54
  "prettier": "^3.8.0",
53
- "pythonlib": "1.0.1"
55
+ "typescript-eslint": "^8.53.1",
56
+ "pythonlib": "1.0.2"
54
57
  },
55
58
  "devDependencies": {
56
59
  "tsup": "^8.5.1",