@typespec/http
Advanced tools
Comparing version 0.61.0-dev.0 to 0.61.0-dev.1
@@ -74,5 +74,5 @@ import { SyntaxKind, createDiagnosticCollector, getDoc, ignoreDiagnostics, isArrayModelType, reportDeprecated, typespecTypeToJson, validateDecoratorTarget, validateDecoratorUniqueOnNode, } from "@typespec/compiler"; | ||
isArrayModelType(context.program, entity.type) && | ||
// eslint-disable-next-line deprecation/deprecation | ||
// eslint-disable-next-line @typescript-eslint/no-deprecated | ||
options.format === undefined) { | ||
// eslint-disable-next-line deprecation/deprecation | ||
// eslint-disable-next-line @typescript-eslint/no-deprecated | ||
options.format = userOptions.explode ? "multi" : "csv"; | ||
@@ -140,3 +140,3 @@ } | ||
context.program.stateSet(HttpStateKeys.statusCode).add(entity); | ||
// eslint-disable-next-line deprecation/deprecation | ||
// eslint-disable-next-line @typescript-eslint/no-deprecated | ||
setLegacyStatusCodeState(context, entity); | ||
@@ -143,0 +143,0 @@ }; |
{ | ||
"name": "@typespec/http", | ||
"version": "0.61.0-dev.0", | ||
"version": "0.61.0-dev.1", | ||
"author": "Microsoft Corporation", | ||
@@ -42,14 +42,14 @@ "description": "TypeSpec HTTP protocol binding", | ||
"peerDependencies": { | ||
"@typespec/compiler": "~0.60.0 || >=0.61.0-dev <0.61.0" | ||
"@typespec/compiler": "~0.60.1 || >=0.61.0-dev <0.61.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "~18.11.19", | ||
"@typespec/compiler": "~0.60.0 || >=0.61.0-dev <0.61.0", | ||
"@types/node": "~22.5.4", | ||
"@typespec/compiler": "~0.60.1 || >=0.61.0-dev <0.61.0", | ||
"@typespec/library-linter": "~0.60.0 || >=0.61.0-dev <0.61.0", | ||
"@vitest/coverage-v8": "^2.0.4", | ||
"@vitest/ui": "^2.0.4", | ||
"@vitest/coverage-v8": "^2.1.0", | ||
"@vitest/ui": "^2.1.0", | ||
"c8": "^10.1.2", | ||
"rimraf": "~6.0.1", | ||
"typescript": "~5.5.4", | ||
"vitest": "^2.0.4", | ||
"typescript": "~5.6.2", | ||
"vitest": "^2.1.0", | ||
"@typespec/tspd": "~0.46.0" | ||
@@ -56,0 +56,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
345458