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

@types/koa-send

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/koa-send - npm Package Compare versions

Comparing version 4.1.1 to 4.1.2

6

koa-send/index.d.ts

@@ -9,3 +9,3 @@ // Type definitions for koa-send 4.1

import {
Context,
ParameterizedContext,
} from "koa";

@@ -17,6 +17,6 @@

declare function send(ctx: Context, path: string, opts?: send.SendOptions): Promise<string>;
declare function send(ctx: ParameterizedContext, path: string, opts?: send.SendOptions): Promise<string>;
declare namespace send {
type SetHeaders = (res: Context["res"], path: string, stats: Stats) => any;
type SetHeaders = (res: ParameterizedContext["res"], path: string, stats: Stats) => any;

@@ -23,0 +23,0 @@ interface SendOptions {

{
"name": "@types/koa-send",
"version": "4.1.1",
"version": "4.1.2",
"description": "TypeScript definitions for koa-send",

@@ -19,5 +19,7 @@ "license": "MIT",

"main": "",
"types": "index",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/koa-send"
},

@@ -28,4 +30,4 @@ "scripts": {},

},
"typesPublisherContentHash": "5a33d81fb645d28975668b4f1a64ddda71ea260b50d29408f76433057466f3d9",
"typesPublisherContentHash": "20de504cc985d5783cc91704d235d025239308787310c53485b1c981de595595",
"typeScriptVersion": "2.3"
}

@@ -5,10 +5,10 @@ # Installation

# Summary
This package contains type definitions for koa-send (https://github.com/koajs/send).
This package contains type definitions for koa-send ( https://github.com/koajs/send ).
# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-send
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-send
Additional Details
* Last updated: Thu, 28 Dec 2017 19:26:51 GMT
* Dependencies: koa, fs
* Last updated: Tue, 05 Mar 2019 17:40:29 GMT
* Dependencies: @types/koa
* Global values: none

@@ -15,0 +15,0 @@

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