Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@typespec/http

Package Overview
Dependencies
Maintainers
2
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typespec/http - npm Package Compare versions

Comparing version 0.59.0-dev.10 to 0.59.0-dev.11

9

dist/src/decorators.js

@@ -69,5 +69,12 @@ import { SyntaxKind, createDiagnosticCollector, getDoc, ignoreDiagnostics, isArrayModelType, reportDeprecated, typespecTypeToJson, validateDecoratorTarget, validateDecoratorUniqueOnNode, } from "@typespec/compiler";

explode: userOptions.explode ?? (userOptions.format === "multi" || userOptions.format === "form"),
format: userOptions.format ?? (userOptions.explode ? "multi" : "csv"),
format: userOptions.format,
name: paramName,
};
if (entity.type.kind === "Model" &&
isArrayModelType(context.program, entity.type) &&
// eslint-disable-next-line deprecation/deprecation
options.format === undefined) {
// eslint-disable-next-line deprecation/deprecation
options.format = userOptions.explode ? "multi" : "csv";
}
context.program.stateMap(HttpStateKeys.query).set(entity, options);

@@ -74,0 +81,0 @@ };

2

package.json
{
"name": "@typespec/http",
"version": "0.59.0-dev.10",
"version": "0.59.0-dev.11",
"author": "Microsoft Corporation",

@@ -5,0 +5,0 @@ "description": "TypeSpec HTTP protocol binding",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc