@azure-tools/typespec-python 0.18.1 → 0.18.3

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/src/lib.d.ts CHANGED
@@ -15,7 +15,7 @@ export interface PythonEmitterOptions {
15
15
  }
16
16
  export declare const $lib: import("@typespec/compiler").TypeSpecLibrary<{
17
17
  [code: string]: import("@typespec/compiler").DiagnosticMessages;
18
- }, PythonEmitterOptions>;
18
+ }, PythonEmitterOptions, never>;
19
19
  export declare const reportDiagnostic: <C extends string | number, M extends keyof {
20
20
  [code: string]: import("@typespec/compiler").DiagnosticMessages;
21
21
  }[C]>(program: import("@typespec/compiler").Program, diag: import("@typespec/compiler").DiagnosticReport<{
@@ -1 +1 @@
1
- {"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../src/lib.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACjC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AA+BD,eAAO,MAAM,IAAI;;wBAAgC,CAAC;AAClD,eAAO,MAAQ,gBAAgB;;;;mBAAE,iBAAiB,4BAAE,SAAS,wFAAS,CAAC"}
1
+ {"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../src/lib.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACjC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AA+BD,eAAO,MAAM,IAAI;;+BAAgC,CAAC;AAClD,eAAO,MAAQ,gBAAgB;;;;mBAAE,iBAAiB,4BAAE,SAAS,wFAAS,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/typespec-python",
3
- "version": "0.18.1",
3
+ "version": "0.18.3",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec emitter for Python SDKs",
6
6
  "homepage": "https://github.com/Azure/autorest.python",
@@ -33,12 +33,12 @@
33
33
  "get-autorest-python-path.cjs"
34
34
  ],
35
35
  "peerDependencies": {
36
- "@azure-tools/typespec-azure-core": ">=0.37.0 <1.0.0",
37
- "@azure-tools/typespec-client-generator-core": ">=0.37.0 <1.0.0",
38
- "@typespec/compiler": ">=0.51.0 <1.0.0",
39
- "@typespec/http": ">=0.51.0 <1.0.0",
40
- "@typespec/rest": ">=0.51.0 <1.0.0",
41
- "@typespec/versioning": ">=0.51.0 <1.0.0"
36
+ "@azure-tools/typespec-azure-core": ">=0.38.0 <1.0.0",
37
+ "@azure-tools/typespec-client-generator-core": ">=0.38.0 <1.0.0",
38
+ "@typespec/compiler": ">=0.52.0 <1.0.0",
39
+ "@typespec/http": ">=0.52.0 <1.0.0",
40
+ "@typespec/rest": ">=0.52.0 <1.0.0",
41
+ "@typespec/versioning": ">=0.52.0 <1.0.0"
42
42
  },
43
43
  "dependenciesMeta": {
44
44
  "@azure-tools/typespec-client-generator-core": {
@@ -47,29 +47,29 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "js-yaml": "~4.1.0",
50
- "@autorest/python": "^6.12.2"
50
+ "@autorest/python": "^6.12.3"
51
51
  },
52
52
  "devDependencies": {
53
- "@azure-tools/typespec-azure-resource-manager": ">=0.37.0 <1.0.0",
54
- "@azure-tools/typespec-autorest": ">=0.37.0 <1.0.0",
55
- "@azure-tools/cadl-ranch-expect": "~0.10.0",
56
- "@azure-tools/cadl-ranch-specs": "~0.28.5",
53
+ "@azure-tools/typespec-azure-resource-manager": ">=0.38.0 <1.0.0",
54
+ "@azure-tools/typespec-autorest": ">=0.38.0 <1.0.0",
55
+ "@azure-tools/cadl-ranch-expect": "~0.11.0",
56
+ "@azure-tools/cadl-ranch-specs": "~0.28.7",
57
57
  "@types/js-yaml": "~4.0.5",
58
58
  "@types/mocha": "~10.0.1",
59
59
  "@types/node": "^18.16.3",
60
- "@typespec/eslint-config-typespec": "~0.51.0",
61
- "@typespec/openapi": ">=0.51.0 <1.0.0",
60
+ "@typespec/eslint-config-typespec": "~0.52.0",
61
+ "@typespec/openapi": ">=0.52.0 <1.0.0",
62
62
  "c8": "~7.13.0",
63
63
  "eslint": "^8.44.0",
64
64
  "mocha": "~10.2.0",
65
65
  "rimraf": "~5.0.0",
66
66
  "typescript": "~5.1.3",
67
- "@azure-tools/typespec-azure-core": "~0.37.0",
68
- "@azure-tools/typespec-client-generator-core": "~0.37.0",
69
- "@typespec/compiler": "~0.51.0",
70
- "@typespec/http": "~0.51.0",
71
- "@typespec/rest": "~0.51.0",
72
- "@typespec/versioning": "~0.51.0"
67
+ "@azure-tools/typespec-azure-core": "~0.38.0",
68
+ "@azure-tools/typespec-client-generator-core": "~0.38.0",
69
+ "@typespec/compiler": "~0.52.0",
70
+ "@typespec/http": "~0.52.0",
71
+ "@typespec/rest": "~0.52.0",
72
+ "@typespec/versioning": "~0.52.0"
73
73
  },
74
74
  "scripts": {
75
75
  "clean": "rimraf ./dist ./temp",