@types/inert
Advanced tools
Comparing version 4.2.8 to 4.2.9
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
10482
0