Socket
Socket
Sign inDemoInstall

@netlify/functions

Package Overview
Dependencies
Maintainers
19
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netlify/functions - npm Package Compare versions

Comparing version 2.0.2 to 2.1.0

2

dist/function/index.d.ts

@@ -5,2 +5,2 @@ export { HandlerContext } from './handler_context.js';

export { BuilderResponse, HandlerResponse, StreamingResponse } from './handler_response.js';
export { Context } from './v2.js';
export { Context, Config } from './v2.js';
export type { Context } from '@netlify/serverless-functions-api';
type Path = `/${string}`;
type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS';
type CronSchedule = string;
export interface Config {
path?: Path | Path[];
method?: HTTPMethod | HTTPMethod[];
schedule?: CronSchedule;
}

@@ -5,3 +5,3 @@ {

"types": "./dist/main.d.ts",
"version": "2.0.2",
"version": "2.1.0",
"description": "JavaScript utilities for Netlify Functions",

@@ -67,3 +67,3 @@ "files": [

"nyc": "^15.0.0",
"tsd": "^0.28.0",
"tsd": "^0.29.0",
"typescript": "^4.4.4"

@@ -70,0 +70,0 @@ },

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