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

@azure/functions

Package Overview
Dependencies
Maintainers
5
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/functions - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

35

Interfaces.d.ts

@@ -13,2 +13,8 @@ /**

export declare type AzureFunction = ((context: Context, ...args: any[]) => Promise<any> | void);
export interface ContextBindings {
[name: string]: any;
}
export interface ContextBindingData {
[name: string]: any;
}
/**

@@ -32,11 +38,7 @@ * The context object can be used for writing logs, reading data from bindings, setting outputs and using

*/
bindings: {
[key: string]: any;
};
bindings: ContextBindings;
/**
* Trigger metadata and function invocation data.
*/
bindingData: {
[key: string]: any;
};
bindingData: ContextBindingData;
/**

@@ -76,2 +78,11 @@ * TraceContext information to enable distributed tracing scenarios.

}
export interface HttpRequestHeaders {
[name: string]: string | undefined;
}
export interface HttpRequestQuery {
[name: string]: string | undefined;
}
export interface HttpRequestParams {
[name: string]: string | undefined;
}
/**

@@ -92,17 +103,11 @@ * HTTP request object. Provided to your function when using HTTP Bindings.

*/
headers: {
[key: string]: string;
};
headers: HttpRequestHeaders;
/**
* Query string parameter keys and values from the URL.
*/
query: {
[key: string]: string;
};
query: HttpRequestQuery;
/**
* Route parameter keys and values.
*/
params: {
[key: string]: string;
};
params: HttpRequestParams;
/**

@@ -109,0 +114,0 @@ * The HTTP request body.

{
"name": "@azure/functions",
"version": "1.2.2",
"version": "1.2.3",
"description": "Azure Functions types for Typescript",

@@ -5,0 +5,0 @@ "repository": {

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