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

@types/koa-static

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/koa-static - npm Package Compare versions

Comparing version 2.0.22 to 3.0.0

koa-static/LICENSE

11

koa-static/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for koa-static v2.x
// Type definitions for koa-static 3.0
// Project: https://github.com/koajs/static

@@ -16,7 +16,5 @@ // Definitions by: Jerry Chin <https://github.com/hellopao/>

import * as Koa from "koa";
declare function serve(root: string, opts?: {
/**

@@ -46,4 +44,9 @@ * Default file name, defaults to 'index.html'

gzip?: boolean;
/**
* Try to match extensions from passed array to search for file when no extension is sufficed in URL. First found is served. (defaults to `false`)
*/
extensions?: string[];
}): Koa.Middleware;
declare namespace serve{}
declare namespace serve {}
export = serve;
{
"name": "@types/koa-static",
"version": "2.0.22",
"version": "3.0.0",
"description": "TypeScript definitions for koa-static",
"license": "MIT",
"author": "Jerry Chin <https://github.com/hellopao/>",
"contributors": [
{
"name": "Jerry Chin",
"url": "https://github.com/hellopao/"
}
],
"main": "",

@@ -17,3 +22,4 @@ "repository": {

"peerDependencies": {},
"typesPublisherContentHash": "16012b68e2ff04763b0c294a4b67e6d7171491eb5b699e146819b691eab444fd"
"typesPublisherContentHash": "34db6ecd886b878e9b99cf9c41db03ac212ff993da3af73ac707c3cd1c6fcd42",
"typeScriptVersion": "2.0"
}

@@ -8,8 +8,7 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/koa-static
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-static
Additional Details
* Last updated: Mon, 19 Dec 2016 22:35:58 GMT
* Library Dependencies: none
* Module Dependencies: koa
* Last updated: Fri, 02 Jun 2017 13:25:33 GMT
* Dependencies: koa
* Global values: none

@@ -16,0 +15,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