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

@types/inert

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/inert - npm Package Compare versions

Comparing version 4.2.8 to 4.2.9

12

inert v4.2/index.d.ts

@@ -7,3 +7,3 @@ // Type definitions for inert 4.2

import * as hapi from 'hapi';
import * as hapi from "hapi";

@@ -22,7 +22,7 @@ declare namespace inert {

*/
mode?: false | 'attachment' | 'inline' | undefined;
mode?: false | "attachment" | "inline" | undefined;
/** lookupCompressed - if true, looks for for a pre-compressed version of the file with the same filename with an extension, depending on the accepted encoding. Defaults to false. */
lookupCompressed?: boolean | undefined;
/** lookupMap - an object which maps content encoding to expected file name extension. Defaults to `{ gzip: '.gz' }. */
lookupMap?: {[index: string]: string} | undefined;
lookupMap?: { [index: string]: string } | undefined;
/**

@@ -34,3 +34,3 @@ * etagMethod - specifies the method used to calculate the ETag header response. Available values:

*/
etagMethod?: 'hash' | 'simple' | false | undefined;
etagMethod?: "hash" | "simple" | false | undefined;
/** start - offset in file to reading from, defaults to 0. */

@@ -70,3 +70,3 @@ start?: number | undefined;

*/
etagMethod?: 'hash' | 'simple' | false | undefined;
etagMethod?: "hash" | "simple" | false | undefined;
/** defaultExtension - optional string, appended to file requests if the requested file is not found. Defaults to no extension. */

@@ -88,3 +88,3 @@ defaultExtension?: string | undefined;

declare module 'hapi' {
declare module "hapi" {
interface RouteHandlerPlugins {

@@ -91,0 +91,0 @@ /**

{
"name": "@types/inert",
"version": "4.2.8",
"version": "4.2.9",
"description": "TypeScript definitions for inert",

@@ -30,4 +30,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/inert",

},
"typesPublisherContentHash": "1614e1e549b9a2df231a266be13f543f00400d1c80482dd8f7a8abff9cb234b1",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "aa20965800589ad2bbedc88c5e5840d6e98800f9f6568bf9a48dc0cf5550c100",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 08 Jul 2021 14:23:12 GMT
* Last updated: Tue, 26 Sep 2023 14:36:22 GMT
* Dependencies: [@types/hapi](https://npmjs.com/package/@types/hapi)

@@ -14,0 +14,0 @@ * Global values: none

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