@types/xml2js
Advanced tools
Comparing version 0.4.8 to 0.4.9
@@ -32,10 +32,10 @@ // Type definitions for node-xml2js 0.4 | ||
version: string; | ||
encoding?: string; | ||
standalone?: boolean; | ||
encoding?: string | undefined; | ||
standalone?: boolean | undefined; | ||
} | ||
export interface RenderOptions { | ||
pretty?: boolean; | ||
indent?: string; | ||
newline?: string; | ||
pretty?: boolean | undefined; | ||
indent?: string | undefined; | ||
newline?: string | undefined; | ||
} | ||
@@ -56,39 +56,39 @@ | ||
export interface ParserOptions { | ||
attrkey?: string; | ||
charkey?: string; | ||
explicitCharkey?: boolean; | ||
trim?: boolean; | ||
normalizeTags?: boolean; | ||
normalize?: boolean; | ||
explicitRoot?: boolean; | ||
attrkey?: string | undefined; | ||
charkey?: string | undefined; | ||
explicitCharkey?: boolean | undefined; | ||
trim?: boolean | undefined; | ||
normalizeTags?: boolean | undefined; | ||
normalize?: boolean | undefined; | ||
explicitRoot?: boolean | undefined; | ||
emptyTag?: any; | ||
explicitArray?: boolean; | ||
ignoreAttrs?: boolean; | ||
mergeAttrs?: boolean; | ||
validator?: Function; | ||
xmlns?: boolean; | ||
explicitChildren?: boolean; | ||
childkey?: string; | ||
preserveChildrenOrder?: boolean; | ||
charsAsChildren?: boolean; | ||
includeWhiteChars?: boolean; | ||
async?: boolean; | ||
strict?: boolean; | ||
attrNameProcessors?: Array<(name: string) => any>; | ||
attrValueProcessors?: Array<(value: string, name: string) => any>; | ||
tagNameProcessors?: Array<(name: string) => any>; | ||
valueProcessors?: Array<(value: string, name: string) => any>; | ||
chunkSize?: number; | ||
explicitArray?: boolean | undefined; | ||
ignoreAttrs?: boolean | undefined; | ||
mergeAttrs?: boolean | undefined; | ||
validator?: Function | undefined; | ||
xmlns?: boolean | undefined; | ||
explicitChildren?: boolean | undefined; | ||
childkey?: string | undefined; | ||
preserveChildrenOrder?: boolean | undefined; | ||
charsAsChildren?: boolean | undefined; | ||
includeWhiteChars?: boolean | undefined; | ||
async?: boolean | undefined; | ||
strict?: boolean | undefined; | ||
attrNameProcessors?: Array<(name: string) => any> | undefined; | ||
attrValueProcessors?: Array<(value: string, name: string) => any> | undefined; | ||
tagNameProcessors?: Array<(name: string) => any> | undefined; | ||
valueProcessors?: Array<(value: string, name: string) => any> | undefined; | ||
chunkSize?: number | undefined; | ||
} | ||
export interface BuilderOptions { | ||
attrkey?: string; | ||
charkey?: string; | ||
rootName?: string; | ||
renderOpts?: RenderOptions; | ||
xmldec?: XmlDeclarationAttributes; | ||
attrkey?: string | undefined; | ||
charkey?: string | undefined; | ||
rootName?: string | undefined; | ||
renderOpts?: RenderOptions | undefined; | ||
xmldec?: XmlDeclarationAttributes | undefined; | ||
doctype?: any; | ||
headless?: boolean; | ||
allowSurrogateChars?: boolean; | ||
cdata?: boolean; | ||
headless?: boolean | undefined; | ||
allowSurrogateChars?: boolean | undefined; | ||
cdata?: boolean | undefined; | ||
} | ||
@@ -95,0 +95,0 @@ |
{ | ||
"name": "@types/xml2js", | ||
"version": "0.4.8", | ||
"version": "0.4.9", | ||
"description": "TypeScript definitions for node-xml2js", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/xml2js", | ||
"license": "MIT", | ||
@@ -54,4 +55,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "998cee8695ba94cf04992d05c29e2cf22adb926b51ab47379c8c9bc8ea7d4b80", | ||
"typeScriptVersion": "3.5" | ||
"typesPublisherContentHash": "7b6614c448dd3c3451f1cc41da73ffbd63183e8394e13524d1c1d3c1cc588caf", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 22 Jan 2021 00:05:21 GMT | ||
* Last updated: Fri, 02 Jul 2021 17:02:21 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
7546