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

@netlify/functions

Package Overview
Dependencies
Maintainers
19
Versions
64
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 0.7.3-handle-secrets.2 to 0.7.3-streaming.0

src/function/streaming-response.d.ts

6

package.json

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

"types": "./src/main.d.ts",
"version": "0.7.3-handle-secrets.2",
"version": "0.7.3-streaming.0",
"description": "JavaScript utilities for Netlify Functions",

@@ -11,3 +11,2 @@ "files": [

"src/**/*.ts",
"src/**/*.json",
"!src/**/*.test.js"

@@ -63,4 +62,3 @@ ],

"@commitlint/config-conventional": "^13.0.0",
"@netlify/eslint-config-node": "^3.1.9",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@netlify/eslint-config-node": "^3.2.10",
"ava": "^2.4.0",

@@ -67,0 +65,0 @@ "husky": "^4.3.8",

@@ -9,4 +9,4 @@ import type { Context } from './context'

export interface Handler<C extends Context> {
(event: Event, context: C, callback: HandlerCallback): void | Response | Promise<Response>
export interface Handler {
(event: Event, context: Context, callback: HandlerCallback): void | Response | Promise<Response>
}

@@ -1,8 +0,7 @@

import { Context } from '../function/context'
import { Handler } from '../function/handler'
export interface Builder {
<C extends Context = Context>(handler: Handler<C>): Handler<C>
(handler: Handler): Handler
}
export declare const builder: Builder

@@ -5,3 +5,2 @@ const BUILDER_FUNCTIONS_FLAG = true

const METADATA_VERSION = 1
const ONEGRAPH_AUTHLIFY_APP_ID = '4d3de9a5-722f-4d27-9c96-2ac43c93c004'

@@ -13,3 +12,2 @@ module.exports = {

METADATA_VERSION,
ONEGRAPH_AUTHLIFY_APP_ID,
}
export * from './lib/builder'
export * from './function'
export * from './lib/secrets'
export * from './lib/streamer'
const { builder } = require('./lib/builder')
const { withSecrets, getSecrets } = require('./lib/secrets')
const { streamer } = require('./lib/streamer')
module.exports = { builder, withSecrets, getSecrets }
module.exports = { builder, streamer }
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