@types/nunjucks
Advanced tools
Comparing version 3.1.4 to 3.1.5
@@ -26,8 +26,8 @@ // Type definitions for nunjucks 3.1 | ||
export interface PrecompileOptions { | ||
name?: string; | ||
asFunction?: boolean; | ||
force?: boolean; | ||
env?: Environment; | ||
include?: string[]; | ||
exclude?: string[]; | ||
name?: string | undefined; | ||
asFunction?: boolean | undefined; | ||
force?: boolean | undefined; | ||
env?: Environment | undefined; | ||
include?: string[] | undefined; | ||
exclude?: string[] | undefined; | ||
wrapper?(templates: { name: string, template: string }, opts: PrecompileOptions): string; | ||
@@ -46,21 +46,21 @@ } | ||
export interface ConfigureOptions { | ||
autoescape?: boolean; | ||
throwOnUndefined?: boolean; | ||
trimBlocks?: boolean; | ||
lstripBlocks?: boolean; | ||
watch?: boolean; | ||
noCache?: boolean; | ||
autoescape?: boolean | undefined; | ||
throwOnUndefined?: boolean | undefined; | ||
trimBlocks?: boolean | undefined; | ||
lstripBlocks?: boolean | undefined; | ||
watch?: boolean | undefined; | ||
noCache?: boolean | undefined; | ||
web?: { | ||
useCache?: boolean, | ||
async?: boolean | ||
}; | ||
express?: object; | ||
useCache?: boolean | undefined, | ||
async?: boolean | undefined | ||
} | undefined; | ||
express?: object | undefined; | ||
tags?: { | ||
blockStart?: string, | ||
blockEnd?: string, | ||
variableStart?: string, | ||
variableEnd?: string, | ||
commentStart?: string, | ||
commentEnd?: string | ||
}; | ||
blockStart?: string | undefined, | ||
blockEnd?: string | undefined, | ||
variableStart?: string | undefined, | ||
variableEnd?: string | undefined, | ||
commentStart?: string | undefined, | ||
commentEnd?: string | undefined | ||
} | undefined; | ||
} | ||
@@ -106,3 +106,3 @@ | ||
export interface ILoader { | ||
async?: boolean; | ||
async?: boolean | undefined; | ||
getSource(name: string): LoaderSource; | ||
@@ -130,6 +130,6 @@ getSource(name: string, callback: Callback<Error, LoaderSource>): void; | ||
/** if true, the system will automatically update templates when they are changed on the filesystem */ | ||
watch?: boolean; | ||
watch?: boolean | undefined; | ||
/** if true, the system will avoid using a cache and templates will be recompiled every single time */ | ||
noCache?: boolean; | ||
noCache?: boolean | undefined; | ||
} | ||
@@ -171,3 +171,3 @@ | ||
cause?: Error; | ||
cause?: Error | undefined; | ||
lineno: number; | ||
@@ -174,0 +174,0 @@ colno: number; |
{ | ||
"name": "@types/nunjucks", | ||
"version": "3.1.4", | ||
"version": "3.1.5", | ||
"description": "TypeScript definitions for nunjucks", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nunjucks", | ||
"license": "MIT", | ||
@@ -27,4 +28,4 @@ "contributors": [ | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "1b0a9a2d2fcd2914fbd165f1a3ef1c14b4034f2190822557e40e6271491b731e", | ||
"typeScriptVersion": "3.4" | ||
"typesPublisherContentHash": "8dcdd81bd30383d8a85c8a7fc288d44251c6b9e5ca70ffb2cd048ab9a1437447", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 04 Feb 2021 03:30:01 GMT | ||
* Last updated: Wed, 07 Jul 2021 16:31:36 GMT | ||
* Dependencies: none | ||
@@ -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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
8694
0