Skip to content

Commit

Permalink
upgrade tsp to 0.61 (#1390)
Browse files Browse the repository at this point in the history
  • Loading branch information
dolauli authored Oct 15, 2024
1 parent 8499346 commit 8ab5a43
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions packages/typespec-powershell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"xmlbuilder": "10.1.1"
},
"devDependencies": {
"@typespec/compiler": ">=0.58.0 <1.0.0",
"@typespec/openapi": ">=0.58.0, <1.0.0",
"@typespec/compiler": ">=0.61.0 <1.0.0",
"@typespec/openapi": ">=0.61.0, <1.0.0",
"@testdeck/mocha": "0.3.3",
"@types/js-yaml": "3.12.1",
"@types/mocha": "5.2.5",
Expand All @@ -46,12 +46,12 @@
"vitest": "1.2.1"
},
"peerDependencies": {
"@azure-tools/typespec-azure-core": ">=0.44.0 <1.0.0",
"@azure-tools/typespec-client-generator-core": ">=0.44.2 <1.0.0",
"@typespec/compiler": ">=0.58.0 <1.0.0",
"@typespec/http": ">=0.58.0 <1.0.0",
"@typespec/rest": ">=0.58.0 <1.0.0",
"@typespec/versioning": ">=0.58.0 <1.0.0"
"@azure-tools/typespec-azure-core": ">=0.47.0 <1.0.0",
"@azure-tools/typespec-client-generator-core": ">=0.47.0 <1.0.0",
"@typespec/compiler": ">=0.61.0 <1.0.0",
"@typespec/http": ">=0.61.0 <1.0.0",
"@typespec/rest": ">=0.61.0 <1.0.0",
"@typespec/versioning": ">=0.61.0 <1.0.0"
},
"scripts": {
"build": "tsc",
Expand Down
2 changes: 1 addition & 1 deletion packages/typespec-powershell/src/utils/modelUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ function applyEncoding(
// If the target already has a format it takes priority. (e.g. int32)
newTarget["format"] = mergeFormatAndEncoding(
newTarget.format,
encodeData.encoding,
encodeData.encoding || '',
newType["format"]
);
return newTarget;
Expand Down

0 comments on commit 8ab5a43

Please sign in to comment.